From: Roland Häder Date: Wed, 28 Oct 2009 01:46:05 +0000 (+0000) Subject: Fixed typos in cache name extensions->extenion X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a1ec36b53a12be97992e4b8ce49b5a635af44e46;p=mailer.git Fixed typos in cache name extensions->extenion --- diff --git a/inc/libs/cache_functions.php b/inc/libs/cache_functions.php index e58854d925..7959501e95 100644 --- a/inc/libs/cache_functions.php +++ b/inc/libs/cache_functions.php @@ -47,7 +47,7 @@ function FILTER_CACHE_DESTROY_ON_EXT_CHANGE ($data) { if (!isCacheInstanceValid()) return $data; // Remove cache - foreach (array('config','extensions','modules') as $cache) { + foreach (array('config','extension','modules') as $cache) { if ($GLOBALS['cache_instance']->loadCacheFile($cache)) $GLOBALS['cache_instance']->removeCacheFile(); } // END - foreach @@ -74,7 +74,7 @@ function FILTER_CACHE_DESTROY_ALL () { if (!isCacheInstanceValid()) return false; // Remove cache files - foreach (array('admin','admin_acls','config','extensions','modules','refdepths','refsystem','themes','revision','filter','imprint') as $cache) { + foreach (array('admin','admin_acls','config','extension','modules','refdepths','refsystem','themes','revision','filter','imprint') as $cache) { /* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("Trying to remove cache %s.", $cache)); if ($GLOBALS['cache_instance']->loadCacheFile($cache)) $GLOBALS['cache_instance']->removeCacheFile(); } // END - foreach