summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-08-12 00:34:25 +0000
committerDries Buytaert <dries@buytaert.net>2010-08-12 00:34:25 +0000
commit3d62d3703b3b7254568f0068976eea56ef80721d (patch)
tree21a65818a4172aa3b087c699ba7792b87ae06e04 /modules/system
parentd5c460ea283fdacbad52196c604e71bb60905100 (diff)
downloadbrdo-3d62d3703b3b7254568f0068976eea56ef80721d.tar.gz
brdo-3d62d3703b3b7254568f0068976eea56ef80721d.tar.bz2
- Patch #629826 by Jody Lynn: theme setting toggles for comments appear when the comment module is disabled.
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/system.admin.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index ff6a09026..08b138469 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -486,6 +486,10 @@ function system_theme_settings($form, &$form_state, $key = '') {
$disabled['toggle_node_user_picture'] = TRUE;
$disabled['toggle_comment_user_picture'] = TRUE;
}
+ if (!module_exists('comment')) {
+ $disabled['toggle_comment_user_picture'] = TRUE;
+ $disabled['toggle_comment_user_verification'] = TRUE;
+ }
$form['theme_settings'] = array(
'#type' => 'fieldset',