New wrapper functions introduced
[mailer.git] / inc / loader / load_cache-refdepths.php
index f4a8c2180b1aa9b6a5c60e92b22431a3bce87fa3..8441ea54e1bac9177437ed67d7a61b17c7623aa5 100644 (file)
@@ -49,7 +49,7 @@ if (isInstallationPhase()) return;
 if (($GLOBALS['cache_instance']->loadCacheFile('refdepths')) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load referal system from cache
        $GLOBALS['cache_array']['refdepths'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif (getScriptOutputMode() != 1) {
+} elseif (isHtmlOutputMode()) {
        // Create cache file here
        $GLOBALS['cache_instance']->init();