From e8b23a8564bb4c78c01cc798bdd9ff7a16eb99da Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 16 Jan 2012 15:42:03 -0500 Subject: [PATCH] Instant expunge defaults to ON on new installations --- citadel/modules/upgrade/serv_upgrade.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/citadel/modules/upgrade/serv_upgrade.c b/citadel/modules/upgrade/serv_upgrade.c index 6eebe67ba..8e7ef3455 100644 --- a/citadel/modules/upgrade/serv_upgrade.c +++ b/citadel/modules/upgrade/serv_upgrade.c @@ -265,6 +265,10 @@ void guess_time_zone(void) { void update_config(void) { get_config(); + if (CitControl.version == 0) { + config.c_instant_expunge = 1; + } + if (CitControl.version < 606) { config.c_rfc822_strict_from = 0; } -- 2.30.2