projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
40aa5cf
)
Fixed typos in cache name extensions->extenion
author
Roland Häder
<roland@mxchange.org>
Wed, 28 Oct 2009 01:46:05 +0000
(
01:46
+0000)
committer
Roland Häder
<roland@mxchange.org>
Wed, 28 Oct 2009 01:46:05 +0000
(
01:46
+0000)
inc/libs/cache_functions.php
patch
|
blob
|
history
diff --git
a/inc/libs/cache_functions.php
b/inc/libs/cache_functions.php
index e58854d92599e7eb1a3e850d5e45dff5ab02087b..7959501e951768abe20f08f9721ef2034b411233 100644
(file)
--- 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
if (!isCacheInstanceValid()) return $data;
// Remove cache
- foreach (array('config','extension
s
','modules') as $cache) {
+ foreach (array('config','extension','modules') as $cache) {
if ($GLOBALS['cache_instance']->loadCacheFile($cache)) $GLOBALS['cache_instance']->removeCacheFile();
} // END - foreach
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
if (!isCacheInstanceValid()) return false;
// Remove cache files
- foreach (array('admin','admin_acls','config','extension
s
','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
/* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, sprintf("Trying to remove cache %s.", $cache));
if ($GLOBALS['cache_instance']->loadCacheFile($cache)) $GLOBALS['cache_instance']->removeCacheFile();
} // END - foreach