Merge "ApiBase: Remove deprecated getResultData()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 5 Oct 2016 18:09:48 +0000 (18:09 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 5 Oct 2016 18:09:48 +0000 (18:09 +0000)
RELEASE-NOTES-1.28
includes/api/ApiBase.php

index 8b7dced..8c479e6 100644 (file)
@@ -120,6 +120,7 @@ production.
   interact with ApiParse and ApiExpandTemplates.
 * (T139565) SECURITY: API: Generate head items in the context of the given title
 * (T115333) SECURITY: Check read permission when loading page content in ApiParse
+* ApiBase::getResultData() was removed (deprecated since 1.25)
 * ApiBase::makeHelpArrayToString() was removed (deprecated since 1.25)
 * ApiBase::makeHelpMsgParameters() was removed (deprecated since 1.25)
 * ApiBase::makeHelpMsg() was removed (deprecated since 1.25)
index 4feaac0..506ff73 100644 (file)
@@ -2745,16 +2745,6 @@ abstract class ApiBase extends ContextSource {
                return 0;
        }
 
-       /**
-        * Get the result data array (read-only)
-        * @deprecated since 1.25, use $this->getResult() methods instead
-        * @return array
-        */
-       public function getResultData() {
-               wfDeprecated( __METHOD__, '1.25' );
-               return $this->getResult()->getData();
-       }
-
        /**
         * Call wfTransactionalTimeLimit() if this request was POSTed
         * @since 1.26