From 902c8d51f0781d1dc55ace604211229b5c975502 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 30 Jul 2003 03:57:49 +0000 Subject: [PATCH] * Add config.c_purge_hour to config screen --- webcit/ChangeLog | 4 +++- webcit/siteconfig.c | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/webcit/ChangeLog b/webcit/ChangeLog index 15afc6872..fa30694b1 100644 --- a/webcit/ChangeLog +++ b/webcit/ChangeLog @@ -1,4 +1,7 @@ $Log$ +Revision 500.10 2003/07/30 03:57:49 ajc +* Add config.c_purge_hour to config screen + Revision 500.9 2003/07/06 22:06:59 ajc * When converting "anything that looks like a URL" to a real link, first make sure that it isn't already inside a link. This fixes most of the @@ -1527,4 +1530,3 @@ Sun Dec 6 19:50:55 EST 1998 Art Cancro 1998-12-03 Nathan Bryant * webserver.c: warning fix - diff --git a/webcit/siteconfig.c b/webcit/siteconfig.c index 239efb057..762517cb3 100644 --- a/webcit/siteconfig.c +++ b/webcit/siteconfig.c @@ -202,6 +202,11 @@ void display_siteconfig(void) wprintf("", ((atoi(buf) != 0) ? "CHECKED" : "")); wprintf("\n"); break; + case 32: + wprintf("Hour to run database auto-purge (0-23)"); + wprintf("", buf); + wprintf("\n"); + break; } } @@ -260,6 +265,7 @@ void siteconfig(void) serv_printf("%s", bstr("c_net_freq")); serv_printf("%s", bstr("c_disable_newu")); serv_printf("%s", bstr("c_aide_mailboxes")); + serv_printf("%s", bstr("c_purge_hour")); serv_printf("000"); display_success("System configuration has been updated."); } -- 2.39.2