X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Ffulltext%2Fserv_fulltext.c;h=90c3e3685de18f6fc27f82dc7a93acf9a0db4dd5;hb=8e944083763c9ddcb32d763cf8f19c966d01f873;hp=17c755da53308264df17b0defac5479007229e59;hpb=dc48bee02071eb3eb2f535e203c36c528e1547a8;p=citadel.git diff --git a/citadel/modules/fulltext/serv_fulltext.c b/citadel/modules/fulltext/serv_fulltext.c index 17c755da5..90c3e3685 100644 --- a/citadel/modules/fulltext/serv_fulltext.c +++ b/citadel/modules/fulltext/serv_fulltext.c @@ -1,6 +1,6 @@ /* * This module handles fulltext indexing of the message base. - * Copyright (c) 2005-2018 by the citadel.org team + * Copyright (c) 2005-2021 by the citadel.org team * * This program is open source software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published @@ -121,7 +121,7 @@ void ft_index_message(long msgnum, int op) { int tok; struct CtdlMessage *msg = NULL; - msg = CtdlFetchMessage(msgnum, 1, 1); + msg = CtdlFetchMessage(msgnum, 1); if (msg == NULL) { syslog(LOG_ERR, "fulltext: ft_index_message() could not load msg %ld", msgnum); return; @@ -483,7 +483,6 @@ CTDL_MODULE_INIT(fulltext) CtdlRegisterProtoHook(cmd_srch, "SRCH", "Full text search"); CtdlRegisterDeleteHook(ft_delete_remove); CtdlRegisterSearchFuncHook(ft_search, "fulltext"); - CtdlRegisterCleanupHook(noise_word_cleanup); CtdlRegisterSessionHook(do_fulltext_indexing, EVT_TIMER, PRIO_CLEANUP + 300); } /* return our module name for the log */