From 8dd9c033f490dfe27c5f56fadf0c8914af4dab48 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 17 Sep 2008 12:24:51 +0000 Subject: [PATCH] Removed the FSCK command because it was being misused. --- citadel/modules/expire/serv_expire.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/citadel/modules/expire/serv_expire.c b/citadel/modules/expire/serv_expire.c index eaffd921f..7caf493d9 100644 --- a/citadel/modules/expire/serv_expire.c +++ b/citadel/modules/expire/serv_expire.c @@ -935,6 +935,10 @@ void *purge_databases(void *args) /*****************************************************************************/ +/* The FSCK command has been removed because people were misusing it */ + +#if 0 + void do_fsck_msg(long msgnum, void *userdata) { struct ctdlroomref *ptr; @@ -1013,6 +1017,7 @@ void cmd_fsck(char *argbuf) { } +#endif /* end of commented-out fsck cmd */ /* * Manually initiate a run of The Dreaded Auto-Purger (tm) @@ -1030,7 +1035,7 @@ CTDL_MODULE_INIT(expire) { if (!threading) { - CtdlRegisterProtoHook(cmd_fsck, "FSCK", "Check message ref counts"); + /* CtdlRegisterProtoHook(cmd_fsck, "FSCK", "Check message ref counts"); */ CtdlRegisterProtoHook(cmd_tdap, "TDAP", "Manually initiate auto-purger"); } else -- 2.30.2