Commit 790a23a5 authored by Dries's avatar Dries
Browse files

- Patch #569084 by douggreen: fixed resetting the search index.

parent 11e31f72
......@@ -271,7 +271,7 @@ function _search_menu_access($name) {
*/
function search_reindex($sid = NULL, $type = NULL, $reindex = FALSE) {
if ($type == NULL && $sid == NULL) {
module_invoke_all('search', 'reset');
module_invoke_all('search_reset');
}
else {
db_delete('search_dataset')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment