WikiPage::getDeletionUpdates returns DeferrableUpdates
authoraddshore <addshorewiki@gmail.com>
Tue, 20 Sep 2016 12:09:09 +0000 (13:09 +0100)
committeraddshore <addshorewiki@gmail.com>
Tue, 20 Sep 2016 12:09:09 +0000 (13:09 +0100)
This means the hook also only needs to add
DeferrableUpdate object rather than DataUpdate objects

Change-Id: Ic19c93860aa364d4e1b69a20ed6bbcd61f6f4979

includes/page/WikiPage.php

index 2308ef0..fe0fffc 100644 (file)
@@ -3735,7 +3735,7 @@ class WikiPage implements Page, IDBAccessObject {
         *
         * @param Content|null $content Optional Content object for determining the
         *   necessary updates.
-        * @return DataUpdate[]
+        * @return DeferrableUpdate[]
         */
        public function getDeletionUpdates( Content $content = null ) {
                if ( !$content ) {