projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d4b3b90
)
Removed the FSCK command because it was being misused.
author
Art Cancro
<ajc@citadel.org>
Wed, 17 Sep 2008 12:24:51 +0000
(12:24 +0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 17 Sep 2008 12:24:51 +0000
(12:24 +0000)
citadel/modules/expire/serv_expire.c
patch
|
blob
|
history
diff --git
a/citadel/modules/expire/serv_expire.c
b/citadel/modules/expire/serv_expire.c
index eaffd921f5aa84f80b9c72d6293efb3c79165cf3..7caf493d9677dea67b0e8d25f60cfca1c07e0fdf 100644
(file)
--- 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;
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)
/*
* Manually initiate a run of The Dreaded Auto-Purger (tm)
@@
-1030,7
+1035,7
@@
CTDL_MODULE_INIT(expire)
{
if (!threading)
{
{
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
CtdlRegisterProtoHook(cmd_tdap, "TDAP", "Manually initiate auto-purger");
}
else