From b5dd5c769ab9b168bf3d5d03e17ab6a07c086cca Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Sat, 24 Feb 2018 10:45:31 +0100 Subject: [PATCH] Remove wfProfileIn/wfProfileOut @deprecated since 1.25 Change-Id: Ie13c31816280fa577ef6bfb5fef172163f83c408 --- RELEASE-NOTES-1.31 | 1 + includes/GlobalFunctions.php | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) 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' ) { -} -- 2.20.1