]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/cache_filter.php
Fixes and cleanups
[mailer.git] / inc / filter / cache_filter.php
index c2facdbf999c3dd1384a1a3b2f0c5859c435fbbe..36bab764cc295b78d838e3f3b77413d46895da57 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -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', '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','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)) {