Remove deprecated function ApiBase::getModuleProfileName
authorJayprakash12345 <0freerunning@gmail.com>
Fri, 9 Mar 2018 20:35:57 +0000 (20:35 +0000)
committerKunal Mehta <legoktm@member.fsf.org>
Sat, 7 Apr 2018 00:53:38 +0000 (17:53 -0700)
Bug: T189330
Change-Id: Ifa30d115b97e8109d11cb932a924d63afc6f81d9

RELEASE-NOTES-1.31
includes/api/ApiBase.php

index 24e9c21..18114f2 100644 (file)
@@ -121,6 +121,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)
 
 === Languages updated in 1.31 ===
 MediaWiki supports over 350 languages. Many localisations are updated
index c2a3fec..6bfdbac 100644 (file)
@@ -2589,16 +2589,6 @@ abstract class ApiBase extends ContextSource {
                return false;
        }
 
-       /**
-        * @deprecated since 1.25, always returns empty string
-        * @param IDatabase|bool $db
-        * @return string
-        */
-       public function getModuleProfileName( $db = false ) {
-               wfDeprecated( __METHOD__, '1.25' );
-               return '';
-       }
-
        /**
         * @deprecated since 1.25
         */