summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Echo/maintenance/removeInvalidNotification.php')
-rw-r--r--Echo/maintenance/removeInvalidNotification.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Echo/maintenance/removeInvalidNotification.php b/Echo/maintenance/removeInvalidNotification.php
index 58362b8b..04640f6c 100644
--- a/Echo/maintenance/removeInvalidNotification.php
+++ b/Echo/maintenance/removeInvalidNotification.php
@@ -33,7 +33,7 @@ class RemoveInvalidNotification extends Maintenance {
global $wgEchoCluster;
$dbw = MWEchoDbFactory::getDB( DB_MASTER );
- $dbr = MWEchoDbFactory::getDB( DB_SLAVE );
+ $dbr = MWEchoDbFactory::getDB( DB_REPLICA );
$count = $this->batchSize;