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 "Remove references to obsolete special page and messages"
[lhc/web/wiklou.git]
/
maintenance
/
copyJobQueue.php
diff --git
a/maintenance/copyJobQueue.php
b/maintenance/copyJobQueue.php
index
08e40fd
..
dc70e9c
100644
(file)
--- a/
maintenance/copyJobQueue.php
+++ b/
maintenance/copyJobQueue.php
@@
-48,9
+48,9
@@
class CopyJobQueue extends Maintenance {
$dstKey = $this->getOption( 'dst' );
if ( !isset( $wgJobQueueMigrationConfig[$srcKey] ) ) {
$dstKey = $this->getOption( 'dst' );
if ( !isset( $wgJobQueueMigrationConfig[$srcKey] ) ) {
- $this->
error( "\$wgJobQueueMigrationConfig not set for '$srcKey'.", 1
);
+ $this->
fatalError( "\$wgJobQueueMigrationConfig not set for '$srcKey'."
);
} elseif ( !isset( $wgJobQueueMigrationConfig[$dstKey] ) ) {
} elseif ( !isset( $wgJobQueueMigrationConfig[$dstKey] ) ) {
- $this->
error( "\$wgJobQueueMigrationConfig not set for '$dstKey'.", 1
);
+ $this->
fatalError( "\$wgJobQueueMigrationConfig not set for '$dstKey'."
);
}
$types = ( $this->getOption( 'type' ) === 'all' )
}
$types = ( $this->getOption( 'type' ) === 'all' )
@@
-94,5
+94,5
@@
class CopyJobQueue extends Maintenance {
}
}
}
}
-$maintClass =
'CopyJobQueue'
;
+$maintClass =
CopyJobQueue::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;