X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Floader%2Fload_cache-admin.php;h=5c94bb3ca652df33f380f20c18868d1d9b9b3108;hb=c8d76610eb94093d4eed4fcd8a6cb72e74c8f6d8;hp=ec2a54626b848fdc40d386e1fbe99fbec9c6d326;hpb=7f5ffcc103a856b8867ac5739dcf0a3b6710413a;p=mailer.git diff --git a/inc/loader/load_cache-admin.php b/inc/loader/load_cache-admin.php index ec2a54626b..5c94bb3ca6 100644 --- a/inc/loader/load_cache-admin.php +++ b/inc/loader/load_cache-admin.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 * @@ -83,7 +81,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('admin')) && ($GLOBALS['cache_ins $GLOBALS['cache_instance']->removeCacheFile(); unset($GLOBALS['cache_array']['admin']); } -} elseif (getOutputMode() != 1) { +} elseif (isHtmlOutputMode()) { // Create cache file $GLOBALS['cache_instance']->init(); @@ -116,7 +114,7 @@ if (isExtensionInstalledAndNewer('admins', '0.3')) { if (($GLOBALS['cache_instance']->loadCacheFile('admin_acls')) && ($GLOBALS['cache_instance']->extensionVersionMatches('admins'))) { // Load referal system from cache $GLOBALS['cache_array']['admin_acls'] = $GLOBALS['cache_instance']->getArrayFromCache(); - } elseif (getOutputMode() != 1) { + } elseif (isHtmlOutputMode()) { // Create cache file here $GLOBALS['cache_instance']->init();