Update IPSet use statements
[lhc/web/wiklou.git] / maintenance / manageJobs.php
index 32333b7..c1b038c 100644 (file)
@@ -48,7 +48,7 @@ class ManageJobs extends Maintenance {
                } elseif ( $action === 'repush-abandoned' ) {
                        $this->repushAbandoned( $queue );
                } else {
-                       $this->error( "Invalid action '$action'.", 1 );
+                       $this->fatalError( "Invalid action '$action'." );
                }
        }
 
@@ -82,7 +82,7 @@ class ManageJobs extends Maintenance {
                        $queue->push( $job );
                        ++$count;
 
-                       if ( ( $count % $this->mBatchSize ) == 0 ) {
+                       if ( ( $count % $this->getBatchSize() ) == 0 ) {
                                $queue->waitForBackups();
                        }
                }