X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FnukeNS.php;h=64bf1b6fa933fbc66d9da9766a2e4f0b175400f8;hb=802f77071f102b19b6b51c316267ce0c9456c6c5;hp=13206d7f5a62e6435ffffe696e63a7ab483baf66;hpb=808002979a816c61a4bf8f9024d010f123358890;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/nukeNS.php b/maintenance/nukeNS.php index 13206d7f5a..64bf1b6fa9 100644 --- a/maintenance/nukeNS.php +++ b/maintenance/nukeNS.php @@ -33,7 +33,7 @@ * based on nukePage by Rob Church */ -require_once( __DIR__ . '/Maintenance.php' ); +require_once __DIR__ . '/Maintenance.php'; /** * Maintenance script that removes pages with only one revision from the @@ -91,7 +91,7 @@ class NukeNS extends Maintenance { $child = $this->runChild( 'NukePage', 'nukePage.php' ); $child->deleteRevisions( $revs ); $this->purgeRedundantText( true ); - $n_deleted ++; + $n_deleted++; } } else { $this->output( "skip: " . $title->getPrefixedText() . "\n" );