From 93f29a1286e591fe268ce962aab0cb505fcd2050 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Wed, 13 Mar 2019 11:18:22 -0700 Subject: [PATCH] Deprecate Profiler::profileIn and Profiler::profileOut stubs Change-Id: I2a8764d2464883e9fe66048e97b688c5a76d595a --- includes/profiler/Profiler.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' ); } /** -- 2.20.1