X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-cache_stats.php;h=cedfb44fe2797ce09973e95b0e8f2d4727e061d5;hb=4f7df133f736da124e6f7bd02008b9093f736451;hp=f975bb299bcc2d1f597d3abe6d6ebdf5afd6ec4b;hpb=20741b93fd58620af677a7f1039ffd16ea6ec689;p=mailer.git diff --git a/inc/modules/admin/what-cache_stats.php b/inc/modules/admin/what-cache_stats.php index f975bb299b..cedfb44fe2 100644 --- a/inc/modules/admin/what-cache_stats.php +++ b/inc/modules/admin/what-cache_stats.php @@ -16,7 +16,7 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 by Mailer Developer Team * + * Copyright (c) 2009 - 2012 by Mailer Developer Team * * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -44,15 +44,13 @@ 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'); $content['total_hits'] = (getStatsEntry('db_hits') + getStatsEntry('cache_hits')); $content['cache_perc'] = (getStatsEntry('cache_hits') / $content['total_hits'] * 100); // Load template - loadTemplate('admin_cache_stats', false, $content); + loadTemplate('admin_cache_stats', FALSE, $content); } else { // Deactivated, which is good for performance displayMessage('{--ADMIN_CACHE_DB_STATS_DEACTIVATED--}');