- foreach (array('admin','admin_acls','config','extension','modules','refdepths','refsystem','themes','filter','imprint') as $cache) {
- // Is the cache file readable?
- // @TODO This should be rewritten not to load the cache file for just checking if it is there for save removal.
- if ($GLOBALS['cache_instance']->loadCacheFile($cache)) {
- // Remove the cache file
- $GLOBALS['cache_instance']->removeCacheFile();
- } // END - if
+ foreach (array('admin', 'admin_acls', 'config', 'extension', 'earning', 'filter', 'imprint', 'modules', 'payments', 'points_data', 'refdepths', 'refsystem', 'themes') as $cache) {
+ // Rebuild it
+ rebuildCache($cache);