New wrapper functions introduced
[mailer.git] / inc / loader / load_cache-
index 16c17c6eacdb1cbda95eef0e2d60b585e7cbba44..2b61ce279e27cfb83bd125bc70d571af28829f09 100644 (file)
@@ -49,7 +49,7 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['cache_instance']->loadCacheFile('foo')) && ($GLOBALS['cache_instance']->extensionVersionMatches('foo'))) {
        // Load cache
        $GLOBALS['cache_array']['foo'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif (getOutputMode() != 1) {
+} elseif (isHtmlMode()) {
        // Create cache file
        $GLOBALS['cache_instance']->init();