Turn off the user 0 message that should not have gotten into the
authorDave West <davew@uncensored.citadel.org>
Mon, 16 Jun 2008 11:55:14 +0000 (11:55 +0000)
committerDave West <davew@uncensored.citadel.org>
Mon, 16 Jun 2008 11:55:14 +0000 (11:55 +0000)
release.

citadel/modules/expire/serv_expire.c

index cd30915dc610fc3c0f91123b467bf4224aa043a3..d15623a33b3bc51af6bec20b6bbb4c5ec6b1cf35 100644 (file)
@@ -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) {
                                );
                        }
                }
-
+*/
        }