]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_upgrade.c
* added a comment infront of the svn modifieable returns. Now it will be me listed...
[citadel.git] / citadel / serv_upgrade.c
index 000e8afeabaf397f840005131283f4d0740973d1..1c3012a512b1159d1b4b4646765f154b35066d1c 100644 (file)
@@ -43,6 +43,7 @@
 #include "msgbase.h"
 #include "tools.h"
 #include "serv_upgrade.h"
+#include "euidindex.h"
 
 
 
@@ -176,6 +177,10 @@ void update_config(void) {
                config.c_enable_fulltext = 0;
        }
 
+       if (CitControl.version < 652) {
+               config.c_auto_cull = 1;
+       }
+
        put_config();
 }
 
@@ -212,6 +217,9 @@ void check_server_upgrades(void) {
        if ((CitControl.version > 000) && (CitControl.version < 608)) {
                convert_ctdluid_to_minusone();
        }
+       if ((CitControl.version > 000) && (CitControl.version < 659)) {
+               rebuild_euid_index();
+       }
 
        CitControl.version = REV_LEVEL;
        put_control();
@@ -221,5 +229,7 @@ void check_server_upgrades(void) {
 char *serv_upgrade_init(void)
 {
        check_server_upgrades();
+
+       /* return our Subversion id for the Log */
        return "$Id$";
 }