diff --git a/maintenance/updatePerUserBlacklist.php b/maintenance/updatePerUserBlacklist.php index 83d29b5eb..94e2aaa1c 100644 --- a/maintenance/updatePerUserBlacklist.php +++ b/maintenance/updatePerUserBlacklist.php @@ -79,7 +79,7 @@ class EchoUpdatePerUserBlacklist extends LoggedUpdateMaintenance { ] ); $processed += $dbw->affectedRows(); - $dbFactory->waitForSlaves(); + wfWaitForSlaves(); } $this->output( "Updated $processed Users\n" );