X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fattribute.php;h=999c0117498dcbe12dae6d857510234b96ca5c51;hb=3f65433da78582804a672fd503ae3bf562dee38e;hp=bfdddd797783a4798691731a3e921862d48df099;hpb=c771fc9c96aacb44b86ade5ecca68334c5d8213f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/attribute.php b/maintenance/attribute.php index bfdddd7977..999c011749 100644 --- a/maintenance/attribute.php +++ b/maintenance/attribute.php @@ -22,7 +22,7 @@ if ( count( $args ) < 2 ) { $source = $args[0]; $dest = $args[1]; -$dbr =& wfGetDB( DB_SLAVE ); +$dbr = wfGetDB( DB_SLAVE ); extract( $dbr->tableNames( 'page', 'revision','user' )); $eSource = $dbr->strencode( $source ); $eDest = $dbr->strencode( $dest ); @@ -101,4 +101,4 @@ print "\n"; fclose( $sqlfile ); fclose( $logfile ); -?> +