diff options
Diffstat (limited to 'maintenance/cleanupBlocks.php')
-rw-r--r-- | maintenance/cleanupBlocks.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/cleanupBlocks.php b/maintenance/cleanupBlocks.php index b524c919b9b4..22049e70683c 100644 --- a/maintenance/cleanupBlocks.php +++ b/maintenance/cleanupBlocks.php @@ -42,7 +42,7 @@ class CleanupBlocks extends Maintenance { } public function execute() { - $db = $this->getDB( DB_PRIMARY ); + $db = $this->getPrimaryDB(); $blockQuery = DatabaseBlock::getQueryInfo(); $max = $db->newSelectQueryBuilder() |