fix: SecondaryDataUpdate -> DataUpdate
authordaniel <daniel.kinzler@wikimedia.de>
Tue, 15 May 2012 13:21:08 +0000 (15:21 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Tue, 15 May 2012 13:21:08 +0000 (15:21 +0200)
includes/ContentHandler.php
maintenance/refreshLinks.php

index 95a86f8..ba33a01 100644 (file)
@@ -733,7 +733,7 @@ abstract class ContentHandler {
                return $reason;
        }
 
-       #@TODO: getSecondaryUpdatesForDeletion( Content ) returns an array of SecondaryDataUpdate objects
+       #@TODO: getSecondaryUpdatesForDeletion( Content ) returns an array of DataUpdate objects
        #... or do that in the Content class?
 
        /**
@@ -786,7 +786,7 @@ abstract class ContentHandler {
         *
         * @param $page WikiPage the page that was deleted (note: $page->getId() must still return the old page ID!)
         *
-        * @return array a list of SecondaryDataUpdate instances that will clean up the database ofter deletion.
+        * @return array a list of DataUpdate instances that will clean up the database ofter deletion.
         */
        public function getDeletionUpdates( WikiPage $page ) {
                return array(
index 2de851a..7ff3be6 100644 (file)
@@ -224,7 +224,7 @@ class RefreshLinks extends Maintenance {
                $parserOutput = $content->getParserOutput( $context, $page->getLatest(), $options, false );
 
                $updates = $parserOutput->getSecondaryDataUpdates( $page->getTitle(), false );
-               SecondaryDataUpdate::runUpdates( $updates );
+               DataUpdate::runUpdates( $updates );
 
                $dbw->commit( __METHOD__ );
        }