From: Max Semenik Date: Thu, 28 Jun 2018 20:57:46 +0000 (-0700) Subject: Hard-deprecate ApiBase::profile{In|Out}() X-Git-Tag: 1.34.0-rc.0~4925^2 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27user%27%2C%20userid=session.user.id%29%20%7D%7D?a=commitdiff_plain;h=b6e13c7e6e668e247592082e0b51088e0680d136;p=lhc%2Fweb%2Fwiklou.git Hard-deprecate ApiBase::profile{In|Out}() The only remaining calls are getting removed in I37641dee50a. Change-Id: I3ee698781a4698d1ef8e74209b82fb1f984fb8e9 --- diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 98aa554b1d..943ee22d59 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -2675,16 +2675,14 @@ abstract class ApiBase extends ContextSource { * @deprecated since 1.25 */ public function profileIn() { - // No wfDeprecated() yet because extensions call this and might need to - // keep doing so for BC. + wfDeprecated( __METHOD__, '1.25' ); } /** * @deprecated since 1.25 */ public function profileOut() { - // No wfDeprecated() yet because extensions call this and might need to - // keep doing so for BC. + wfDeprecated( __METHOD__, '1.25' ); } /**