More variables renamed to , install/admin_WriteData() is now generic (with open TODO)
[mailer.git] / inc / libs / cache_functions.php
index 4e12fb90c3e20968167f84a2b39df891baf23128..121cfc096a79f08c32c6f8b53d09b3ce1b426281 100644 (file)
@@ -84,12 +84,12 @@ class CacheSystem {
        }
 
        // Checks validity of cache file and if content is given
-       function loadCacheFile ($file, $forceContent = false) {
+       function loadCacheFile ($cacheName, $forceContent = false) {
                // Remember cache file
-               $this->name = $file;
+               $this->name = $cacheName;
 
                // Construct FQFN (full qualified file name)
-               $this->inc = $this->path.$file.".cache";
+               $this->inc = $this->path . $cacheName . ".cache";
 
                // Check if file exists and if version matches
                $status = (FILE_READABLE($this->inc) && (is_writeable($this->inc)) && ($this->extensionVersionMatches("cache")));