Wikia code/maintenance/clear interwiki cache.php

--- D:\Programming\SVN\mediawiki\branches\REL1_16\phase3\maintenance\clear_interwiki_cache.php	2011-07-18 22:30:28.560546900 +0100
+++ D:\Programming\SVN\wikia\trunk\maintenance\clear_interwiki_cache.php	2011-08-17 15:05:34.968750000 +0100
@@ -38,7 +38,8 @@
 		foreach ( $res as $row ) {
 			$prefixes[] = $row->iw_prefix;
 		}
-
+		global $wgDBname;
+		$wgLocalDatabases[] = $wgDBname;
 		foreach ( $wgLocalDatabases as $db ) {
 			$this->output( "$db..." );
 			foreach ( $prefixes as $prefix ) {