From: Roland Häder Date: Sun, 31 Jul 2011 21:40:04 +0000 (+0000) Subject: Added points_data cache to some filters X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0d684e14cdd31c3792af77eeeb7fcc9846d18701;p=mailer.git Added points_data cache to some filters --- diff --git a/inc/filter/cache_filter.php b/inc/filter/cache_filter.php index be8b48cdd2..b1887a91f1 100644 --- a/inc/filter/cache_filter.php +++ b/inc/filter/cache_filter.php @@ -49,7 +49,7 @@ function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($filterData) { } // END - if // Remove cache - foreach (array('config', 'extension', 'filter', 'modules', 'earning') as $cache) { + foreach (array('config', 'extension', 'filter', 'modules', 'earning', 'points_data') as $cache) { if ($GLOBALS['cache_instance']->loadCacheFile($cache)) { $GLOBALS['cache_instance']->removeCacheFile(); } // END - if @@ -87,7 +87,7 @@ function FILTER_CACHE_DESTROY_ALL ($filterData) { } // END - if // Remove cache files - foreach (array('admin', 'admin_acls', 'config', 'extension', 'earning', 'modules', 'refdepths', 'refsystem', 'themes', 'filter', 'imprint') as $cache) { + foreach (array('admin', 'admin_acls', 'config', 'extension', 'earning', 'filter', 'imprint', 'modules', 'points_data', 'refdepths', 'refsystem', 'themes') 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)) {