Remove wfProfileIn/wfProfileOut
authorUmherirrender <umherirrender_de.wp@web.de>
Sat, 24 Feb 2018 09:45:31 +0000 (10:45 +0100)
committerUmherirrender <umherirrender_de.wp@web.de>
Sat, 24 Feb 2018 09:45:31 +0000 (10:45 +0100)
@deprecated since 1.25

Change-Id: Ie13c31816280fa577ef6bfb5fef172163f83c408

RELEASE-NOTES-1.31
includes/GlobalFunctions.php

index f79747a..8113314 100644 (file)
@@ -265,6 +265,7 @@ changes to languages because of Phabricator reports.
 * The DeferredStringifier class is deprecated, use Message::listParam() instead.
 * The type string for the parameter $lang of DateFormatter::getInstance is
   deprecated.
+* The global functions wfProfileIn and wfProfileOut, deprecated in 1.25, have been removed.
 
 == Compatibility ==
 MediaWiki 1.31 requires PHP 5.5.9 or later. Although HHVM 3.18.5 or later is supported,
index 884c3f0..5b809e4 100644 (file)
@@ -3527,19 +3527,3 @@ function wfGetRusage() {
                return getrusage( 0 /* RUSAGE_SELF */ );
        }
 }
-
-/**
- * Begin profiling of a function
- * @param string $functionname Name of the function we will profile
- * @deprecated since 1.25
- */
-function wfProfileIn( $functionname ) {
-}
-
-/**
- * Stop profiling of a function
- * @param string $functionname Name of the function we have profiled
- * @deprecated since 1.25
- */
-function wfProfileOut( $functionname = 'missing' ) {
-}