mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 09:40:41 +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() {
|
public function execute() {
|
||||||
$dbr = $this->getDB( DB_SLAVE );
|
$dbw = MWEchoDbFactory::getDB( DB_MASTER );
|
||||||
$dbw = $this->getDB( DB_MASTER );
|
$dbr = MWEchoDbFactory::getDB( DB_SLAVE );
|
||||||
$iterator = new BatchRowIterator(
|
$iterator = new BatchRowIterator(
|
||||||
$dbr,
|
$dbr,
|
||||||
'echo_notification',
|
'echo_notification',
|
||||||
|
|
Loading…
Reference in a new issue