X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload_cache-them.php;h=a6eb3cb4a734e6f924a105a86c990d9f42ab4846;hb=5119510b066e7d05bceb19fd24a2287113a6190f;hp=76faa9653a82e3b3bc4cc7985ed5cfbcc77ddec7;hpb=cb20090aa0558f1b74f0e9f925f29819e8bb3a45;p=mailer.git diff --git a/inc/loader/load_cache-them.php b/inc/loader/load_cache-them.php index 76faa9653a..a6eb3cb4a7 100644 --- a/inc/loader/load_cache-them.php +++ b/inc/loader/load_cache-them.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -72,12 +70,12 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in // Remove dummy array unset($cache); -} elseif (getOutputMode() != 1) { +} elseif (isHtmlOutputMode()) { // Create cache file here $GLOBALS['cache_instance']->init(); // Load all themes and their data - if (getExtensionVersion('theme') >= '0.0.7') { + if (isExtensionInstalledAndNewer('theme', '0.0.7')) { $result = SQL_QUERY('SELECT id, theme_path, theme_active, theme_ver, theme_name FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY `id`', __FILE__, __LINE__); } else { $result = SQL_QUERY('SELECT id, theme_path, theme_active, theme_ver FROM `{?_MYSQL_PREFIX?}_themes` ORDER BY `id`', __FILE__, __LINE__);