]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/cache_filter.php
Code improved:
[mailer.git] / inc / filter / cache_filter.php
index b1887a91f19e4d16525616abc14a3c0e15f28ec4..7ef4dd33aabb10100632cf97bfa780317515312c 100644 (file)
@@ -16,8 +16,8 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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 *
  * it under the terms of the GNU General Public License as published by *
@@ -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) {
+               // Is this cache there?
                if ($GLOBALS['cache_instance']->loadCacheFile($cache)) {
+                       // Yes, then remove it
                        $GLOBALS['cache_instance']->removeCacheFile();
                } // END - if
        } // END - foreach