Permalink
Browse files

- Patch #629826 by Jody Lynn: theme setting toggles for comments appe…

…ar when the comment module is disabled.
  • Loading branch information...
1 parent ebae77c commit 7a61b02e29a63ef6b1576e684f5b67408cea83dc dries committed Aug 12, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 modules/system/system.admin.inc
@@ -1,5 +1,5 @@
<?php
-// $Id: system.admin.inc,v 1.293 2010-07-28 02:57:36 dries Exp $
+// $Id: system.admin.inc,v 1.294 2010-08-12 00:34:25 dries Exp $
/**
* @file
@@ -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',

0 comments on commit 7a61b02

Please sign in to comment.