]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/cachesystem.class.php
Naming convention on language strings applied, ACL handling fixed:
[mailer.git] / inc / classes / cachesystem.class.php
index 14169a98ab5ea545cacd83178c57f24dc35ee98e..8f0b7e7175fbacd7b4f08b11c64cf22c31b454e4 100644 (file)
@@ -185,6 +185,9 @@ class CacheSystem {
                                        } else {
                                                $GLOBALS['cache_array']['admin'][$k][$data['admin_id']] = $v;
                                        }
+                               } elseif ($this->name == 'admin_acls') {
+                                       // Access control lines
+                                       $GLOBALS['cache_array']['admin_acls'][$k][$data['admin_id']][] = $v;
                                } elseif ($this->name == 'refdepths') {
                                        // Referal levels
                                        $GLOBALS['cache_array']['refdepths'][$k][$data['id']] = $v;
@@ -214,7 +217,7 @@ class CacheSystem {
                                        // Remove cache
                                        $this->removeCacheFile(true);
 
-                                       // Unsupported cache found!
+                                       // Unsupported/unhandled cache detected
                                        debug_report_bug(__METHOD__, __LINE__, 'Unsupported cache ' . $this->name . ' detected.');
                                }
 
@@ -478,7 +481,7 @@ class CacheSystem {
                                        // Does it match?
                                        $GLOBALS[__METHOD__][$ext_name] = ((isset($this->version[$this->name][$ext_name])) && ($this->version[$this->name][$ext_name] == $ext_ver));
                                } elseif ($this->isCacheReadable()) {
-                                       // No cache version found!
+                                       // No cache version found
                                        logDebugMessage(__METHOD__, __LINE__, 'Cache ' . $this->name . ' has missing version entry for extension ' . $ext_name . '! Purging cache...');
        
                                        // Remove the cache file