Anomie has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/313592

Change subject: ApiBase: Remove deprecated getResultData()
......................................................................

ApiBase: Remove deprecated getResultData()

It was broken by I3ca7c981, and should probably have been removed in
that patch too.

Change-Id: I66ce52348406372a09d39f9d876123026f6c2bad
---
M RELEASE-NOTES-1.28
M includes/api/ApiBase.php
2 files changed, 1 insertion(+), 10 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/92/313592/1

diff --git a/RELEASE-NOTES-1.28 b/RELEASE-NOTES-1.28
index a24f97a..508d00b 100644
--- a/RELEASE-NOTES-1.28
+++ b/RELEASE-NOTES-1.28
@@ -114,6 +114,7 @@
   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)
diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php
index 809d567..bf33838 100644
--- a/includes/api/ApiBase.php
+++ b/includes/api/ApiBase.php
@@ -2746,16 +2746,6 @@
        }
 
        /**
-        * 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
         */

-- 
To view, visit https://gerrit.wikimedia.org/r/313592
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66ce52348406372a09d39f9d876123026f6c2bad
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to