]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-cache_stats.php
Extension ext-network continued:
[mailer.git] / inc / modules / admin / what-cache_stats.php
index dbfc9d55876249151c0d757a83d4676467b237bb..589d69ae2a824e2f0aaec36cc5973a5a5dec0512 100644 (file)
@@ -17,7 +17,7 @@
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009 - 2011 by Mailer Developer Team                   *
- * For more information visit: http://www.mxchange.org                  *
+ * 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]