From: Jayprakash12345 <0freerunning@gmail.com> Date: Fri, 9 Mar 2018 20:41:47 +0000 (+0000) Subject: Remove deprecated function ApiBase::getProfileDBTime X-Git-Tag: 1.31.0-rc.0~167 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=3f1230e9ec362a18b555233deb0b3e2b3f8a4594 Remove deprecated function ApiBase::getProfileDBTime Bug: T189330 Change-Id: I7584024dff54608b138a7fbaced216ff9133ac2c --- diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 029eea5f3e..24e9c21b07 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -120,7 +120,7 @@ production. returned regardless. === Action API internal changes in 1.31 === -* … +* ApiBase::getProfileDBTime 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 22202c0c11..c2a3fec52b 100644 --- a/includes/api/ApiBase.php +++ b/includes/api/ApiBase.php @@ -2645,15 +2645,6 @@ abstract class ApiBase extends ContextSource { wfDeprecated( __METHOD__, '1.25' ); } - /** - * @deprecated since 1.25, always returns 0 - * @return float - */ - public function getProfileDBTime() { - wfDeprecated( __METHOD__, '1.25' ); - return 0; - } - /** * Call wfTransactionalTimeLimit() if this request was POSTed * @since 1.26