New naming convention applied to many functions, see #118 for details
[mailer.git] / inc / extensions / ext-cache.php
index 1dd7055d2ef5ca3be00197d1ef063caa41df5529..5720fb421938c28cda3403d2abfb9001abc67463 100644 (file)
@@ -248,10 +248,10 @@ case 'test': // For testing purposes. For details see file inc/modules/admin/wha
 
 default: // Do stuff when extension is loaded
        // Create instance on class
-       if ($GLOBALS['cache_mode'] != "init") {
+       if ($GLOBALS['cache_mode'] != 'init') {
                // Initialize cache system only when it's needed
                $GLOBALS['cache_instance'] = new CacheSystem(getConfig('cache_update'), "inc/".getConfig('cache_path'), getConfig('cache_tested'));
-               if ($GLOBALS['cache_instance']->getStatus() != "done") {
+               if ($GLOBALS['cache_instance']->getStatus() != 'done') {
                        // Failed to initialize cache sustem
                        addFatalMessage(__FILE__, __LINE__, "(<font color=\"#0000aa\">".__LINE__."</font>): ".getMessage('CACHE_CANNOT_INITIALIZE'));
                } // END - if
@@ -260,7 +260,7 @@ default: // Do stuff when extension is loaded
 }
 
 // Keep this extension always active!
-EXT_SET_ALWAYS_ACTIVE("Y");
+EXT_SET_ALWAYS_ACTIVE('Y');
 
 //
 ?>