diff --git opensearch.module opensearch.module index c50f3d3..2217856 100644 --- opensearch.module +++ opensearch.module @@ -333,12 +333,6 @@ function _opensearch_is_search_result_page() { if ($module == 'apachesolr_search' && !empty($_GET['filters'])) { return TRUE; } - - // For other modules that use a similar path used by Apache Solr, check the - // result of hook_search(). - $result = module_invoke($module, 'search', 'search'); - - return !empty($result); } return FALSE;