]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/cache_filter.php
mailer project continued:
[mailer.git] / inc / filter / cache_filter.php
index 36bab764cc295b78d838e3f3b77413d46895da57..7ef4dd33aabb10100632cf97bfa780317515312c 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -50,7 +50,9 @@ function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($filterData) {
 
        // Remove cache
        foreach (array('config', 'extension', 'filter', 'modules', 'earning', 'points_data') as $cache) {
 
        // Remove cache
        foreach (array('config', 'extension', 'filter', 'modules', 'earning', 'points_data') as $cache) {
+               // Is this cache there?
                if ($GLOBALS['cache_instance']->loadCacheFile($cache)) {
                if ($GLOBALS['cache_instance']->loadCacheFile($cache)) {
+                       // Yes, then remove it
                        $GLOBALS['cache_instance']->removeCacheFile();
                } // END - if
        } // END - foreach
                        $GLOBALS['cache_instance']->removeCacheFile();
                } // END - if
        } // END - foreach