Deprecate Profiler::profileIn and Profiler::profileOut stubs
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 13 Mar 2019 18:18:22 +0000 (11:18 -0700)
committerKrinkle <krinklemail@gmail.com>
Thu, 14 Mar 2019 23:03:44 +0000 (23:03 +0000)
Change-Id: I2a8764d2464883e9fe66048e97b688c5a76d595a

includes/profiler/Profiler.php

index 1f490f9..554ca08 100644 (file)
@@ -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' );
        }
 
        /**