X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-cache_stats.php;h=589d69ae2a824e2f0aaec36cc5973a5a5dec0512;hb=bdca58e2ac18d5f06a6b8a30a3488eb1360b67d9;hp=5ec0de84fa52c47a07efaf5a4c686f473b9ccd86;hpb=e8ca54fe91872ab95a6ffdc4f1268bf18889021d;p=mailer.git diff --git a/inc/modules/admin/what-cache_stats.php b/inc/modules/admin/what-cache_stats.php index 5ec0de84fa..589d69ae2a 100644 --- a/inc/modules/admin/what-cache_stats.php +++ b/inc/modules/admin/what-cache_stats.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -44,7 +44,7 @@ if ((!defined('__SECURITY')) || (!isAdmin())) { addYouAreHereLink('admin', __FILE__); // Activated? -if (ifStatsAreEnabled()) { +if (ifInternalStatsEnabled()) { // Prepare data for the template $content['db_hits'] = getStatsEntry('db_hits'); $content['cache_hits'] = getStatsEntry('cache_hits'); @@ -55,7 +55,7 @@ if (ifStatsAreEnabled()) { loadTemplate('admin_cache_stats', false, $content); } else { // Deactivated, which is good for performance - loadTemplate('admin_settings_saved', false, '{--ADMIN_CACHE_DB_STATS_DEACTIVATED--}'); + displayMessage('{--ADMIN_CACHE_DB_STATS_DEACTIVATED--}'); } // [EOF]