New naming convention applied to many functions, see #118 for details
[mailer.git] / inc / libs / cache_functions.php
index 64fa865595b343c4b5205e72d04d45b08407a108..b5804821a5c00cb58aadc714b154d2156b655b87 100644 (file)
@@ -74,14 +74,14 @@ class CacheSystem {
                        touch($fqfn, 'w');
 
                        // Is the file there?
-                       if (FILE_READABLE($fqfn)) {
+                       if (isFileReadable($fqfn)) {
                                // Yes, we can do. So let's remove it
                                unlink($fqfn);
 
                                // Is there a .htaccess file?
-                               if (FILE_READABLE($path . '.htaccess')) {
+                               if (isFileReadable($path . '.htaccess')) {
                                        // Update database that we have tested it
-                                       UPDATE_CONFIG('cache_tested', 1);
+                                       updateConfiguration('cache_tested', 1);
 
                                        // All done!
                                        $this->ret = $this->statusDone;
@@ -101,7 +101,7 @@ class CacheSystem {
                // Remember cache file
                $this->name = $cacheName;
 
-               // Construct include filename for LOAD_INC_ONCE() call
+               // Construct include filename for loadIncludeOnce() call
                $this->inc = $this->path . $cacheName . $this->extension;
 
                // Construct FQFN (full qualified file name)
@@ -418,7 +418,7 @@ class CacheSystem {
 
        // Checks wether the current cache file is readable
        function isCacheReadable () {
-               return INCLUDE_READABLE($this->inc);
+               return isIncludeReadable($this->inc);
        }
 
 } // END - class
@@ -466,7 +466,7 @@ function FILTER_CACHE_DESTROY_ALL () {
 // Filter for purging entire admin menu cache
 function FILTER_CACHE_PURGE_ADMIN_MENU () {
        // Just call the function
-       CACHE_PURGE_ADMIN_MENU();
+       cachePurgeAdminMenu();
 }
 
 //