From cecb985bee3bdd252e1b8dc0bd500b37cd52be01 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 16 May 2007 20:58:53 +0000 Subject: Aktualisierung auf MediaWiki 1.10.0 Plugins angepasst und verbessert kleine Korrekturen am Design --- maintenance/cleanupCaps.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'maintenance/cleanupCaps.php') diff --git a/maintenance/cleanupCaps.php b/maintenance/cleanupCaps.php index afcd1b33..5a61bf23 100644 --- a/maintenance/cleanupCaps.php +++ b/maintenance/cleanupCaps.php @@ -25,8 +25,7 @@ * http://www.gnu.org/copyleft/gpl.html * * @author Brion Vibber - * @package MediaWiki - * @subpackage maintenance + * @addtogroup maintenance */ $options = array( 'dry-run' ); @@ -100,7 +99,7 @@ class CapsCleanup extends FiveUpgrade { $result = $this->dbr->query( $sql, $fname ); while( $row = $this->dbr->fetchObject( $result ) ) { - $updated = call_user_func( $callback, $row ); + call_user_func( $callback, $row ); } $this->log( "Finished $table... $this->updated of $this->processed rows updated" ); $this->dbr->freeResult( $result ); @@ -137,7 +136,6 @@ class CapsCleanup extends FiveUpgrade { if( $row->page_namespace == $this->namespace ) { $talk = $target->getTalkPage(); - $xrow = $row; $row->page_namespace = $talk->getNamespace(); if( $talk->exists() ) { return $this->processPage( $row ); -- cgit v1.2.2