Fixes for broken order page and themes
[mailer.git] / inc / loader / load_cache-extension.php
index 7ccaf9f4c962037139aa62d454d83f311d876871..00c56c5b72c7713e5ed10b094290471c3521d0d3 100644 (file)
@@ -133,7 +133,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('extension')) && ($GLOBALS['cache
        unset($EXT_POOL);
 } 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]