mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-24 16:04:35 +00:00
Merge "backfillUnreadBundles.php: Use the correct database"
This commit is contained in:
commit
9659f7283d
|
@ -16,8 +16,8 @@ class BackfillReadBundles extends Maintenance {
|
|||
}
|
||||
|
||||
public function execute() {
|
||||
$dbr = $this->getDB( DB_SLAVE );
|
||||
$dbw = $this->getDB( DB_MASTER );
|
||||
$dbw = MWEchoDbFactory::getDB( DB_MASTER );
|
||||
$dbr = MWEchoDbFactory::getDB( DB_SLAVE );
|
||||
$iterator = new BatchRowIterator(
|
||||
$dbr,
|
||||
'echo_notification',
|
||||
|
|
Loading…
Reference in a new issue