*
* @file
* @ingroup Maintenance
- * @author Aaron Schulz
*/
require_once __DIR__ . '/Maintenance.php';
} elseif ( $action === 'repush-abandoned' ) {
$this->repushAbandoned( $queue );
} else {
- $this->error( "Invalid action '$action'.", 1 );
+ $this->fatalError( "Invalid action '$action'." );
}
}
$queue->push( $job );
++$count;
- if ( ( $count % $this->mBatchSize ) == 0 ) {
+ if ( ( $count % $this->getBatchSize() ) == 0 ) {
$queue->waitForBackups();
}
}