diff options
Diffstat (limited to 'maintenance/fixUserRegistration.php')
-rw-r--r-- | maintenance/fixUserRegistration.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/fixUserRegistration.php b/maintenance/fixUserRegistration.php index af8a68c2..471ef055 100644 --- a/maintenance/fixUserRegistration.php +++ b/maintenance/fixUserRegistration.php @@ -8,8 +8,8 @@ require_once( 'commandLine.inc' ); $fname = 'fixUserRegistration.php'; -$dbr =& wfGetDB( DB_SLAVE ); -$dbw =& wfGetDB( DB_MASTER ); +$dbr = wfGetDB( DB_SLAVE ); +$dbw = wfGetDB( DB_MASTER ); // Get user IDs which need fixing $res = $dbr->select( 'user', 'user_id', 'user_registration IS NULL', $fname ); |