diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/search.module | 6 | ||||
-rw-r--r-- | modules/search/search.module | 6 |
2 files changed, 0 insertions, 12 deletions
diff --git a/modules/search.module b/modules/search.module index ab56bbcec..ecefa8e32 100644 --- a/modules/search.module +++ b/modules/search.module @@ -307,12 +307,6 @@ function search_view() { global $edit, $type, $keys; if (user_access("search content")) { - - // Verify the user input: - // TODO: is this necessary or is it / should it be done in search_{form|data}? - $type = check_input($type); - $keys = check_input($keys); - // Construct the search form: $form = search_form(NULL, NULL, TRUE); diff --git a/modules/search/search.module b/modules/search/search.module index ab56bbcec..ecefa8e32 100644 --- a/modules/search/search.module +++ b/modules/search/search.module @@ -307,12 +307,6 @@ function search_view() { global $edit, $type, $keys; if (user_access("search content")) { - - // Verify the user input: - // TODO: is this necessary or is it / should it be done in search_{form|data}? - $type = check_input($type); - $keys = check_input($keys); - // Construct the search form: $form = search_form(NULL, NULL, TRUE); |