ApiBase: Remove deprecated getResultData()
authorBrad Jorsch <bjorsch@wikimedia.org>
Fri, 30 Sep 2016 14:07:24 +0000 (10:07 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Fri, 30 Sep 2016 14:07:24 +0000 (10:07 -0400)
It was broken by I3ca7c981, and should probably have been removed in
that patch too.

Change-Id: I66ce52348406372a09d39f9d876123026f6c2bad

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

index a24f97a..508d00b 100644 (file)
@@ -114,6 +114,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 809d567..bf33838 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