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
Drop $wgChangeTagsSchemaMigrationStage
[lhc/web/wiklou.git]
/
maintenance
/
updateSpecialPages.php
diff --git
a/maintenance/updateSpecialPages.php
b/maintenance/updateSpecialPages.php
index
12a454a
..
3b28b65
100644
(file)
--- a/
maintenance/updateSpecialPages.php
+++ b/
maintenance/updateSpecialPages.php
@@
-25,7
+25,6
@@
require_once __DIR__ . '/Maintenance.php';
use MediaWiki\MediaWikiServices;
require_once __DIR__ . '/Maintenance.php';
use MediaWiki\MediaWikiServices;
-use Wikimedia\Rdbms\DBReplicationWaitError;
/**
* Maintenance script to update cached special pages.
/**
* Maintenance script to update cached special pages.
@@
-134,11
+133,7
@@
class UpdateSpecialPages extends Maintenance {
$this->output( "Reconnected\n\n" );
}
// Wait for the replica DB to catch up
$this->output( "Reconnected\n\n" );
}
// Wait for the replica DB to catch up
- try {
- $lbFactory->waitForReplication();
- } catch ( DBReplicationWaitError $e ) {
- // ignore
- }
+ $lbFactory->waitForReplication();
}
public function doSpecialPageCacheUpdates( $dbw ) {
}
public function doSpecialPageCacheUpdates( $dbw ) {