]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/cache_filter.php
Earning subscriptions introduced (unfinished):
[mailer.git] / inc / filter / cache_filter.php
index c2facdbf999c3dd1384a1a3b2f0c5859c435fbbe..be8b48cdd291e79ea5d6430dde877fb9032f6c8c 100644 (file)
@@ -49,7 +49,7 @@ function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($filterData) {
        } // END - if
 
        // Remove cache
-       foreach (array('config','extension','filter','modules') as $cache) {
+       foreach (array('config', 'extension', 'filter', 'modules', 'earning') 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','modules','refdepths','refsystem','themes','filter','imprint') as $cache) {
+       foreach (array('admin', 'admin_acls', 'config', 'extension', 'earning', '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)) {