X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FcleanupSpam.php;h=04f278f389a0ad28a6d455dfaa13eb2704cb161f;hb=06c1a5976cf7733e9bee5ca673b658b6b88cb9f2;hp=17d2e188d2499397d286df52c64063883389e767;hpb=b4999a404c5a8084ece8c2599c183d8bfa99ff7a;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/cleanupSpam.php b/maintenance/cleanupSpam.php index 17d2e188d2..04f278f389 100644 --- a/maintenance/cleanupSpam.php +++ b/maintenance/cleanupSpam.php @@ -52,7 +52,7 @@ class CleanupSpam extends Maintenance { // Hack: Grant bot rights so we don't flood RecentChanges $wgUser->addGroup( 'bot' ); - $spec = $this->getArg(); + $spec = $this->getArg( 0 ); $protConds = []; foreach ( [ 'http://', 'https://' ] as $prot ) {