Merge "backfillUnreadBundles.php: Use the correct database"

This commit is contained in:
jenkins-bot 2016-06-07 12:25:03 +00:00 committed by Gerrit Code Review
commit 9659f7283d

View file

@ -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',