2 require_once('commandLine.inc');
4 foreach ( $wgLocalDatabases as $db ) {
5 noisyDelete("$db:stats:pcache_hit");
6 noisyDelete("$db:stats:pcache_miss_invalid");
7 noisyDelete("$db:stats:pcache_miss_expired");
8 noisyDelete("$db:stats:pcache_miss_absent");
9 noisyDelete("$db:stats:image_cache_hit");
10 noisyDelete("$db:stats:image_cache_miss");
11 noisyDelete("$db:stats:image_cache_update");
14 function noisyDelete( $key ) {
18 if ( $wgMemc->delete($key) ) {
23 $wgMemc->delete($key);