Localisation updates for extension messages from Betawiki (2008-04-20 11:12 CEST)
[lhc/web/wiklou.git] / maintenance / cleanupWatchlist.php
index 1e97f9b..bcf0573 100644 (file)
@@ -119,7 +119,7 @@ class WatchlistCleanup extends FiveUpgrade {
        
        function removeWatch( $row ) {
                if( !$this->dryrun) {
-                       $dbw =& wfGetDB( DB_MASTER );
+                       $dbw = wfGetDB( DB_MASTER );
                        $dbw->delete( 'watchlist', array(
                                'wl_user'      => $row->wl_user,
                                'wl_namespace' => $row->wl_namespace,
@@ -134,4 +134,4 @@ $wgUser->setName( 'Conversion script' );
 $caps = new WatchlistCleanup( !isset( $options['fix'] ) );
 $caps->cleanup();
 
-?>
+