diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-20 07:36:34 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-20 07:36:34 +0000 |
commit | ff9b6c611e1e1a804602f6a03692453268ee8076 (patch) | |
tree | b03321857d628827b20d73b2a2a96a61f9974739 /modules/system/system.admin.inc | |
parent | f6db2a4cd7fc78e1c68eb3a4e004f796c550793c (diff) | |
download | brdo-ff9b6c611e1e1a804602f6a03692453268ee8076.tar.gz brdo-ff9b6c611e1e1a804602f6a03692453268ee8076.tar.bz2 |
- Patch #427296 by taz88ny: move some code from system.module to bloc.module where it belongs.
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index eb15ce009..481355b40 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1296,18 +1296,6 @@ function system_performance_settings() { $description = '<p>' . t("The normal cache mode is suitable for most sites and does not cause any side effects. The aggressive cache mode causes Drupal to skip the loading (boot) and unloading (exit) of enabled modules when serving a cached page. This results in an additional performance boost but can cause unwanted side effects.") . '</p>'; - // Check if the "Who's online" block is enabled. - $online_block_enabled = db_select('block') - ->condition('module', 'user') - ->condition('delta', 'online') - ->condition('status', 1) - ->countQuery() - ->execute() - ->fetchField(); - if ($online_block_enabled) { - $description .= '<p>' . t("When caching is enabled, anonymous user sessions are only saved to the database when needed, so the \"Who's online\" block does not display the number of anonymous users.") . '</p>'; - } - $problem_modules = array_unique(array_merge(module_implements('boot'), module_implements('exit'))); sort($problem_modules); |