No need to call wfDoUpdates(), already done by Article::doEdit()
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 16 Dec 2010 13:34:32 +0000 (13:34 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 16 Dec 2010 13:34:32 +0000 (13:34 +0000)
maintenance/cleanupSpam.php

index aea32d0..ce3f726 100644 (file)
@@ -123,7 +123,6 @@ class CleanupSpam extends Maintenance {
                                $article->doEdit( $rev->getText(), wfMsg( 'spam_reverting', $domain ), EDIT_UPDATE );
                        }
                        $dbw->commit();
-                       wfDoUpdates();
                }
        }
 }