Merge "Make feedlink icon visible by setting a size"
[lhc/web/wiklou.git] / maintenance / nukeNS.php
index e18f362..64bf1b6 100644 (file)
@@ -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" );
@@ -119,4 +119,4 @@ class NukeNS extends Maintenance {
 }
 
 $maintClass = "NukeNS";
-require_once( RUN_MAINTENANCE_IF_MAIN );
+require_once RUN_MAINTENANCE_IF_MAIN;