From: Umherirrender Date: Sat, 24 Feb 2018 09:45:31 +0000 (+0100) Subject: Remove wfProfileIn/wfProfileOut X-Git-Tag: 1.31.0-rc.0~501^2 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=b5dd5c769ab9b168bf3d5d03e17ab6a07c086cca;p=lhc%2Fweb%2Fwiklou.git Remove wfProfileIn/wfProfileOut @deprecated since 1.25 Change-Id: Ie13c31816280fa577ef6bfb5fef172163f83c408 --- diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index f79747ae3a..8113314a2a 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -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, diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 884c3f0f80..5b809e4994 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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' ) { -}