Some naming cleanup of the filename prefix blacklist added in r25620:
[lhc/web/wiklou.git] / maintenance / orphans.php
index 406de8f..954117c 100644 (file)
@@ -40,7 +40,7 @@ checkSeparation( isset( $options['fix'] ) );
 # ------
 
 function checkOrphans( $fix ) {
-       $dbw =& wfGetDB( DB_MASTER );
+       $dbw = wfGetDB( DB_MASTER );
        $page = $dbw->tableName( 'page' );
        $revision = $dbw->tableName( 'revision' );
 
@@ -91,7 +91,7 @@ function checkOrphans( $fix ) {
  *       but valid revisions do exist)
  */
 function checkWidows( $fix ) {
-       $dbw =& wfGetDB( DB_MASTER );
+       $dbw = wfGetDB( DB_MASTER );
        $page = $dbw->tableName( 'page' );
        $revision = $dbw->tableName( 'revision' );
 
@@ -134,7 +134,7 @@ function checkWidows( $fix ) {
 
 
 function checkSeparation( $fix ) {
-       $dbw =& wfGetDB( DB_MASTER );
+       $dbw = wfGetDB( DB_MASTER );
        $page     = $dbw->tableName( 'page' );
        $revision = $dbw->tableName( 'revision' );
        $text     = $dbw->tableName( 'text' );
@@ -203,4 +203,3 @@ function checkSeparation( $fix ) {
        }
 }
 
-?>
\ No newline at end of file