]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-extension.php
Right place...
[mailer.git] / inc / loader / load_cache-extension.php
index 7ccaf9f4c962037139aa62d454d83f311d876871..d93cb6656d03ad73dbb1def101ced9ed45267ff3 100644 (file)
@@ -131,9 +131,9 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
 
        // Remove array and mark cache as loaded
        unset($EXT_POOL);
-} elseif (getOutputMode() != '1') {
+} elseif (getOutputMode() != 1) {
        // Create cache file here
-       $GLOBALS['cache_instance']->init('extension');
+       $GLOBALS['cache_instance']->init();
 
        // Add more if sql_patches is recent enougth
        $add = '';
@@ -182,9 +182,6 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
        // Close the cache
        $GLOBALS['cache_instance']->storeExtensionVersion('sql_patches');
        $GLOBALS['cache_instance']->finalize();
-
-       // Include loader again
-       loadInclude('inc/loader/'.basename(__FILE__));
 }
 
 // [EOF]