From: Art Cancro Date: Wed, 17 Sep 2008 12:24:51 +0000 (+0000) Subject: Removed the FSCK command because it was being misused. X-Git-Tag: v7.86~1930 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=8dd9c033f490dfe27c5f56fadf0c8914af4dab48 Removed the FSCK command because it was being misused. --- 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