Fixes for installation phase
[mailer.git] / inc / loader / load_cache-refsystem.php
index 06dee6c577231a3f3f29a6a4b3eda3b9a425b167..c60475c1b3b4529a314fbe055f9f9d07c0d05e6d 100644 (file)
@@ -41,6 +41,9 @@ if (!defined('__SECURITY')) {
        die();
 }
 
+// Use this code if you don't want to run this cache loader on installation phase
+if (isInstallationPhase()) return;
+
 // Next cached table is the referal system (refsystem)...
 if (($GLOBALS['cache_instance']->loadCacheFile('refsystem')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load referal system from cache