From 87385643c5abda101199bac988ccd93c513ca8b4 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 15 May 2012 15:21:08 +0200 Subject: [PATCH] fix: SecondaryDataUpdate -> DataUpdate --- includes/ContentHandler.php | 4 ++-- maintenance/refreshLinks.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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__ ); } -- 2.20.1