dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Preserve 'ooui' query string when overriding"
[lhc/web/wiklou.git]
/
maintenance
/
manageJobs.php
diff --git
a/maintenance/manageJobs.php
b/maintenance/manageJobs.php
index
32333b7
..
488c915
100644
(file)
--- a/
maintenance/manageJobs.php
+++ b/
maintenance/manageJobs.php
@@
-48,7
+48,7
@@
class ManageJobs extends Maintenance {
} elseif ( $action === 'repush-abandoned' ) {
$this->repushAbandoned( $queue );
} else {
} 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;
$queue->push( $job );
++$count;
- if ( ( $count % $this->
mBatchSize
) == 0 ) {
+ if ( ( $count % $this->
getBatchSize()
) == 0 ) {
$queue->waitForBackups();
}
}
$queue->waitForBackups();
}
}
@@
-93,5
+93,5
@@
class ManageJobs extends Maintenance {
}
}
}
}
-$maintClass =
"ManageJobs"
;
+$maintClass =
ManageJobs::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;