X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fexpire%2Fserv_expire.c;h=d15623a33b3bc51af6bec20b6bbb4c5ec6b1cf35;hb=128eb12102bdfd2a218831b867ceeea6f8864317;hp=cd30915dc610fc3c0f91123b467bf4224aa043a3;hpb=49663514bf74233fa89b9cf1800264c848e174e0;p=citadel.git 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) { ); } } - +*/ }