]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-cache.php
A lot while() conditions rewritten to SQL_FETCHARRAY(), see bug #107, @TODO tags...
[mailer.git] / inc / extensions / ext-cache.php
index a1ecd0f022b75e0e109746eaccec9318df9cccdc..17a13d08f378a84d14a192ab66d643bec97e8133 100644 (file)
@@ -235,12 +235,15 @@ case "update": // Update an extension
        }
        break;
 
+case "modify": // When the extension got modified
+       break;
+
 case "test": // For testing purposes. For details see file inc/modules/admin/what-extensions.php, arround line 305.
        break;
 
 default: // Do stuff when extension is loaded
        // Create instance on class
-       if ($GLOBALS['cacheMode'] != "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") {