Follow up r47852. Unlike forkWorkers(), the start() method doesn't get the $procs...
authorPlatonides <platonides@users.mediawiki.org>
Wed, 12 Jan 2011 23:07:20 +0000 (23:07 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 12 Jan 2011 23:07:20 +0000 (23:07 +0000)
maintenance/runJobs.php

index d6d2538..d4916c3 100644 (file)
@@ -49,7 +49,7 @@ class RunJobs extends Maintenance {
                                $this->error( "Invalid argument to --procs", true );
                        }
                        $fc = new ForkController( $procs );
-                       if ( $fc->start( $procs ) != 'child' ) {
+                       if ( $fc->start() != 'child' ) {
                                $this->unlock();
                                exit( 0 );
                        }