Add waitForReplication in DeleteLocalPasswords
[lhc/web/wiklou.git] / maintenance / includes / DeleteLocalPasswords.php
index 02c8bed..747319d 100644 (file)
@@ -143,6 +143,7 @@ ERROR
                        );
                }
                $this->total += $dbw->affectedRows();
+               MediaWikiServices::getInstance()->getDBLoadBalancerFactory()->waitForReplication();
        }
 
        /**