From 128eb12102bdfd2a218831b867ceeea6f8864317 Mon Sep 17 00:00:00 2001 From: Dave West Date: Mon, 16 Jun 2008 11:55:14 +0000 Subject: [PATCH] Turn off the user 0 message that should not have gotten into the release. --- citadel/modules/expire/serv_expire.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/citadel/modules/expire/serv_expire.c b/citadel/modules/expire/serv_expire.c index cd30915dc..d15623a33 100644 --- a/citadel/modules/expire/serv_expire.c +++ b/citadel/modules/expire/serv_expire.c @@ -457,10 +457,16 @@ void do_user_purge(struct ctdluser *us, void *data) { /* If the user has no full name entry then we can't purge them * since the actual purge can't find them. * This shouldn't happen but does somehow. - * So we make an Aide message to alert to it but don't add it to the purge list */ if (IsEmptyStr(us->fullname)) { + purge = 0; +/* + ** Keeping this block of code for later referance. + * We don't actually want to send the user 0 messages as part of the purger cycle + * But we might want to use some of this code to do a user database integrity check + * some time in the future. + if (us->usernum > 0L) { purge=0; @@ -501,7 +507,7 @@ void do_user_purge(struct ctdluser *us, void *data) { ); } } - +*/ } -- 2.30.2