Clarified an unclear warning message
[citadel.git] / webcit / siteconfig.c
index 7a93d44af096e10b43b155c49a502584d88cc3bc..a16d9cfe83a44007a7252f7c22b046e2438a529c 100644 (file)
@@ -36,7 +36,6 @@ void LoadExpirePolicy(GPEXWhichPolicy which)
        serv_printf("GPEX %s", ExpirePolicyStrings[which][0].Key);
        Buf = NewStrBuf();
        StrBuf_ServGetln(Buf);
-       WCC->Policy[which].loaded = 1;
        if (GetServerStatus(Buf, &State) == 2) {
                Pos = ChrPtr(Buf) + 4;
                WCC->Policy[which].expire_mode = StrBufExtractNext_long(Buf, &Pos, '|');
@@ -252,8 +251,9 @@ void load_siteconfig(void)
                        Buf = NewStrBuf();
                }
                else {
-                       if (j == 0)
-                               AppendImportantMessage(_("WARNING: Failed to parse Server Config; do you run a to new citserver?"), -1);
+                       if (j == 0) {
+                               syslog(LOG_WARNING, "The server sent more configuration data than this version of webcit is capable of changing.  Unknown configuration values will remain unchanged.");
+                       }
                        j++;
                }
        }