Removed the FSCK command because it was being misused.
authorArt Cancro <ajc@citadel.org>
Wed, 17 Sep 2008 12:24:51 +0000 (12:24 +0000)
committerArt Cancro <ajc@citadel.org>
Wed, 17 Sep 2008 12:24:51 +0000 (12:24 +0000)
citadel/modules/expire/serv_expire.c

index eaffd921f5aa84f80b9c72d6293efb3c79165cf3..7caf493d9677dea67b0e8d25f60cfca1c07e0fdf 100644 (file)
@@ -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