From: daniel Date: Tue, 15 May 2012 13:21:08 +0000 (+0200) Subject: fix: SecondaryDataUpdate -> DataUpdate X-Git-Tag: 1.31.0-rc.0~22097^2^2~166 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=87385643c5abda101199bac988ccd93c513ca8b4;p=lhc%2Fweb%2Fwiklou.git fix: SecondaryDataUpdate -> DataUpdate --- diff --git a/includes/ContentHandler.php b/includes/ContentHandler.php index 95a86f8886..ba33a0144a 100644 --- a/includes/ContentHandler.php +++ b/includes/ContentHandler.php @@ -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( diff --git a/maintenance/refreshLinks.php b/maintenance/refreshLinks.php index 2de851a100..7ff3be64b7 100644 --- a/maintenance/refreshLinks.php +++ b/maintenance/refreshLinks.php @@ -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__ ); }