From b6e13c7e6e668e247592082e0b51088e0680d136 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Thu, 28 Jun 2018 13:57:46 -0700 Subject: [PATCH] Hard-deprecate ApiBase::profile{In|Out}() The only remaining calls are getting removed in I37641dee50a. Change-Id: I3ee698781a4698d1ef8e74209b82fb1f984fb8e9 --- includes/api/ApiBase.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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' ); } /** -- 2.20.1