X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fmodules%2Fexpire%2Fserv_expire.c;fp=citadel%2Fmodules%2Fexpire%2Fserv_expire.c;h=879975496dc942626a31e90c2692c82e4afe71ce;hb=e047988e5cb07d89edeec13afea5c25a52ef26c6;hp=a275ca8a4ceb09e3126dc65546051b3db11e57c0;hpb=86c0cb1fe43b21ec15052f97129844a7fd501d95;p=citadel.git diff --git a/citadel/modules/expire/serv_expire.c b/citadel/modules/expire/serv_expire.c index a275ca8a4..879975496 100644 --- a/citadel/modules/expire/serv_expire.c +++ b/citadel/modules/expire/serv_expire.c @@ -3,7 +3,7 @@ * * You might also see this module affectionately referred to as the DAP (the Dreaded Auto-Purger). * - * Copyright (c) 1988-2017 by citadel.org (Art Cancro, Wilifried Goesgens, and others) + * Copyright (c) 1988-2018 by citadel.org (Art Cancro, Wilifried Goesgens, and others) * * This program is open source software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as published @@ -898,11 +898,10 @@ void purge_databases(void) syslog(LOG_NOTICE, "Purged %d stale external auth associations.", retval); } - if (!server_shutting_down) - { - retval = TDAP_ProcessAdjRefCountQueue(); - syslog(LOG_NOTICE, "Processed %d message reference count adjustments.", retval); - } + //if (!server_shutting_down) + //{ + // FIXME this is where we could do a non-interactive delete of zero-refcount messages + //} if ( (!server_shutting_down) && (CtdlGetConfigInt("c_shrink_db_files") != 0) ) {