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

merge-requests/26/head
Dries Buytaert 2009-09-05 10:53:09 +00:00
parent 11e31f721c
commit 790a23a56f
1 changed files with 1 additions and 1 deletions

View File

@ -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')