From 3f1230e9ec362a18b555233deb0b3e2b3f8a4594 Mon Sep 17 00:00:00 2001 From: Jayprakash12345 <0freerunning@gmail.com> Date: Fri, 9 Mar 2018 20:41:47 +0000 Subject: [PATCH] Remove deprecated function ApiBase::getProfileDBTime Bug: T189330 Change-Id: I7584024dff54608b138a7fbaced216ff9133ac2c --- RELEASE-NOTES-1.31 | 2 +- includes/api/ApiBase.php | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) 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 -- 2.20.1