jenkins-bot has submitted this change and it was merged.

Change subject: WikiPage::getDeletionUpdates returns DeferrableUpdates
......................................................................


WikiPage::getDeletionUpdates returns DeferrableUpdates

This means the hook also only needs to add
DeferrableUpdate object rather than DataUpdate objects

Change-Id: Ic19c93860aa364d4e1b69a20ed6bbcd61f6f4979
---
M includes/page/WikiPage.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Aaron Schulz: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/page/WikiPage.php b/includes/page/WikiPage.php
index 2308ef0..fe0fffc 100644
--- a/includes/page/WikiPage.php
+++ b/includes/page/WikiPage.php
@@ -3735,7 +3735,7 @@
         *
         * @param Content|null $content Optional Content object for determining 
the
         *   necessary updates.
-        * @return DataUpdate[]
+        * @return DeferrableUpdate[]
         */
        public function getDeletionUpdates( Content $content = null ) {
                if ( !$content ) {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic19c93860aa364d4e1b69a20ed6bbcd61f6f4979
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Addshore <addshorew...@gmail.com>
Gerrit-Reviewer: Aaron Schulz <asch...@wikimedia.org>
Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com>
Gerrit-Reviewer: Thiemo M├Ąttig (WMDE) <thiemo.maet...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to