X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Floader%2Fload_cache-modules.php;h=0c7f12e4afa1ce952c2197a01c1526762041890b;hp=a1152a0d77e27d0ff7839b58fcedbd114218f19f;hb=d92d8b4ddd219b65df8e0bba5e4354c0bbfba5c9;hpb=06d97fddd5c72e2b1c14ddb855b7eddc53f169a7 diff --git a/inc/loader/load_cache-modules.php b/inc/loader/load_cache-modules.php index a1152a0d77..0c7f12e4af 100644 --- a/inc/loader/load_cache-modules.php +++ b/inc/loader/load_cache-modules.php @@ -72,7 +72,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('modules')) && ($GLOBALS['cache_i unset($modArray); } elseif (getOutputMode() != '1') { // Create cache file here - $GLOBALS['cache_instance']->init('MODULES'); + $GLOBALS['cache_instance']->init(); // Load all modules and their data if (isExtensionInstalledAndNewer('sql_patches', '0.3.6')) { @@ -97,9 +97,6 @@ FROM `{?_MYSQL_PREFIX?}_mod_reg` ORDER BY `id`', __FILE__, __LINE__); // Close the cache $GLOBALS['cache_instance']->storeExtensionVersion('sql_patches'); $GLOBALS['cache_instance']->finalize(); - - // Include loader again - loadInclude('inc/loader/'.basename(__FILE__)); } // [EOF]