if (!isCacheInstanceValid()) return $data;
// Remove cache
- foreach (array('config','extensions','modules') as $cache) {
+ foreach (array('config','extension','modules') as $cache) {
if ($GLOBALS['cache_instance']->loadCacheFile($cache)) $GLOBALS['cache_instance']->removeCacheFile();
} // END - foreach
if (!isCacheInstanceValid()) return false;
// Remove cache files
- foreach (array('admin','admin_acls','config','extensions','modules','refdepths','refsystem','themes','revision','filter','imprint') as $cache) {
+ foreach (array('admin','admin_acls','config','extension','modules','refdepths','refsystem','themes','revision','filter','imprint') as $cache) {
/* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("Trying to remove cache %s.", $cache));
if ($GLOBALS['cache_instance']->loadCacheFile($cache)) $GLOBALS['cache_instance']->removeCacheFile();
} // END - foreach