X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfixUserRegistration.php;h=d09760b4bd115cd67a016bffdf4dfd6daec956d9;hb=44cebea941236e165bf55e80565d6679529c7280;hp=40e091595e482de345050a5fab2b316311fcf973;hpb=4e90d55fdc9d31d93e24cf05687eb7d180806f44;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 {