X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2FfixUserRegistration.php;h=d09760b4bd115cd67a016bffdf4dfd6daec956d9;hb=23299ca8790bcf1aebcf54e0932b94338e630474;hp=40e091595e482de345050a5fab2b316311fcf973;hpb=fbcb3d5f980a9be0611424764d6f18e749e4c1c9;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fixUserRegistration.php b/maintenance/fixUserRegistration.php index 40e091595e..d09760b4bd 100644 --- a/maintenance/fixUserRegistration.php +++ b/maintenance/fixUserRegistration.php @@ -37,7 +37,7 @@ class FixUserRegistration extends Maintenance { } public function execute() { - $dbw = wfGetDB( DB_MASTER ); + $dbw = $this->getDB( DB_MASTER ); $lastId = 0; do {