From: Jayprakash12345 <0freerunning@gmail.com> Date: Fri, 9 Mar 2018 20:53:26 +0000 (+0000) Subject: Remove deprecated function ApiBase::getProfileTime X-Git-Tag: 1.31.0-rc.0~165 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=64b146e55a132a8381e9f24c58ef6d5b37fa1750 Remove deprecated function ApiBase::getProfileTime Bug: T189330 Change-Id: I404766b53ad33d615557faa693a513914d959a63 --- diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 18114f2559..051f6d02bd 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -122,6 +122,7 @@ production. === Action API internal changes in 1.31 === * ApiBase::getProfileDBTime was removed (deprecated since 1.25) * ApiBase::getModuleProfileName was removed (deprecated since 1.25) +* ApiBase::getProfileTime was removed (deprecated since 1.25) === Languages updated in 1.31 === MediaWiki supports over 350 languages. Many localisations are updated diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php index 6bfdbacff9..9d6314de8b 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -2612,15 +2612,6 @@ abstract class ApiBase extends ContextSource { wfDeprecated( __METHOD__, '1.25' ); } - /** - * @deprecated since 1.25, always returns 0 - * @return float - */ - public function getProfileTime() { - wfDeprecated( __METHOD__, '1.25' ); - return 0; - } - /** * @deprecated since 1.25 */