Remove annoying `s from the definition of the protected_titles table.
[lhc/web/wiklou.git] / maintenance / fixUserRegistration.php
index af8a68c..b342a86 100644 (file)
@@ -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 );
@@ -28,4 +28,4 @@ while ( $row = $dbr->fetchObject( $res ) ) {
 }
 print "\n";
 
-?>
+