summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/search/search.test5
-rw-r--r--modules/system/system.admin.inc3
2 files changed, 0 insertions, 8 deletions
diff --git a/modules/search/search.test b/modules/search/search.test
index 7ce30865b..9145d3385 100644
--- a/modules/search/search.test
+++ b/modules/search/search.test
@@ -395,11 +395,6 @@ class SearchBlockTestCase extends DrupalWebTestCase {
// Create and login user
$admin_user = $this->drupalCreateUser(array('administer blocks', 'search content'));
$this->drupalLogin($admin_user);
-
- // Disable the theme form to avoid confusion.
- $settings = theme_get_settings();
- $settings['toggle_search'] = FALSE;
- variable_set('theme_settings', $settings);
}
function testSearchFormBlock() {
diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc
index 214a46ba5..aa1d2e9d1 100644
--- a/modules/system/system.admin.inc
+++ b/modules/system/system.admin.inc
@@ -453,9 +453,6 @@ function system_theme_settings($form, &$form_state, $key = '') {
$disabled['toggle_node_user_picture'] = TRUE;
$disabled['toggle_comment_user_picture'] = TRUE;
}
- if (!module_exists('search')) {
- $disabled['toggle_search'] = TRUE;
- }
$form['theme_settings'] = array(
'#type' => 'fieldset',