From: Aaron Schulz Date: Wed, 13 Mar 2019 18:18:22 +0000 (-0700) Subject: Deprecate Profiler::profileIn and Profiler::profileOut stubs X-Git-Tag: 1.34.0-rc.0~2519^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=93f29a1286e591fe268ce962aab0cb505fcd2050;p=lhc%2Fweb%2Fwiklou.git Deprecate Profiler::profileIn and Profiler::profileOut stubs Change-Id: I2a8764d2464883e9fe66048e97b688c5a76d595a --- diff --git a/includes/profiler/Profiler.php b/includes/profiler/Profiler.php index 1f490f93d1..554ca084bd 100644 --- a/includes/profiler/Profiler.php +++ b/includes/profiler/Profiler.php @@ -147,11 +147,12 @@ abstract class Profiler { } } - // Kept BC for now, remove when possible public function profileIn( $functionname ) { + wfDeprecated( __METHOD__, '1.33' ); } public function profileOut( $functionname ) { + wfDeprecated( __METHOD__, '1.33' ); } /**