diff --git a/cleanup.php b/cleanup.php index 08381985..eb9e2f7b 100644 --- a/cleanup.php +++ b/cleanup.php @@ -14,7 +14,6 @@ require_once( 'SpamBlacklist_body.php' ); */ function cleanupArticle( $rev, $regexes, $match ) { $title = $rev->getTitle(); - $reverted = false; $revId = $rev->getId(); while ( $rev ) { $matches = false;