Polish up r45109 (changes to header id generation)
[lhc/web/wiklou.git] / maintenance / clear_interwiki_cache.php
index 8a83d4d..ce15477 100644 (file)
@@ -2,13 +2,15 @@
 /**
  * This script is used to clear the interwiki links for ALL languages in
  * memcached.
- * @addtogroup Maintenance
+ *
+ * @file
+ * @ingroup Maintenance
  */
 
 /** */
 require_once('commandLine.inc');
 
-$dbr =& wfGetDB( DB_SLAVE );
+$dbr = wfGetDB( DB_SLAVE );
 $res = $dbr->select( 'interwiki', array( 'iw_prefix' ), false );
 $prefixes = array();
 while ( $row = $dbr->fetchObject( $res ) ) {
@@ -22,4 +24,4 @@ foreach ( $wgLocalDatabases as $db ) {
        }
 }
 print "\n";
-?>
+