Fix for r55810: oly set $optionsWithArgs if it's not defined, as in the old version...
[lhc/web/wiklou.git] / maintenance / nukeNS.php
index 81545b1..21e921f 100644 (file)
@@ -80,7 +80,7 @@ class NukeNS extends Maintenance {
                                        $dbw->query( "DELETE FROM $tbl_pag WHERE page_id = $id" );
                                        $dbw->commit();
                                        // Delete revisions as appropriate
-                                       $child = $this->spawnChild( 'NukePage', 'NukePage.php' );
+                                       $child = $this->runChild( 'NukePage', 'NukePage.php' );
                                        $child->deleteRevisions( $revs );
                                        $this->purgeRedundantText( true );
                                        $n_deleted ++;