Index: trunk/extensions/Translate/scripts/createMessageIndex.php |
— | — | @@ -33,4 +33,6 @@ |
34 | 34 | showUsage(); |
35 | 35 | } |
36 | 36 | |
| 37 | +$cache = new ArrayMemoryCache( 'groupstats' ); |
| 38 | +$cache->clearAll(); |
37 | 39 | MessageIndexRebuilder::execute(); |
Index: trunk/extensions/Translate/utils/MemoryCache.php |
— | — | @@ -51,6 +51,11 @@ |
52 | 52 | } |
53 | 53 | } |
54 | 54 | |
| 55 | + public function clearAll() { |
| 56 | + $this->load(); |
| 57 | + $this->cache = array(); |
| 58 | + } |
| 59 | + |
55 | 60 | public function commit() { |
56 | 61 | $this->save(); |
57 | 62 | } |