X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffilter%2Fcache_filter.php;h=7ef4dd33aabb10100632cf97bfa780317515312c;hp=36bab764cc295b78d838e3f3b77413d46895da57;hb=63f159414369b5ea19a8ca75d8cd8033c45d8341;hpb=a454def0bfba8288ffc839d034c710f034cf4728 diff --git a/inc/filter/cache_filter.php b/inc/filter/cache_filter.php index 36bab764cc..7ef4dd33aa 100644 --- a/inc/filter/cache_filter.php +++ b/inc/filter/cache_filter.php @@ -16,7 +16,7 @@ * $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 * @@ -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