From 034102109b70922fd15623a7c88244d2deb62deb Mon Sep 17 00:00:00 2001 From: "smeredith%netscape.com" Date: Wed, 13 Feb 2002 23:30:41 +0000 Subject: [PATCH] Remote admin changes. --- cck/ib/ib.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/cck/ib/ib.cpp b/cck/ib/ib.cpp index e431faaf64ad..90096ebfb9ff 100644 --- a/cck/ib/ib.cpp +++ b/cck/ib/ib.cpp @@ -786,11 +786,18 @@ BOOL ConvertToRemoteAdmin(CString strURL, CString strPrefFile, CString strRemote DeleteFile(strPrefFile); ModifyHashedPref(strPrefFile, "autoadmin.global_config_url", strURL, "string", TRUE); - CString strAppendEmail = GetGlobal("RemoteAdminAppendEmail"); - ModifyHashedPref(strPrefFile, "autoadmin.append_emailaddr", strAppendEmail, "bool", TRUE); + CString strFailoverCached = GetGlobal("RemoteAdminFailoverToCached"); + ModifyHashedPref(strPrefFile, "autoadmin.failover_to_cached", strFailoverCached, "bool", TRUE); CString strFailover = GetGlobal("RemoteAdminFailover"); ModifyHashedPref(strPrefFile, "autoadmin.offline_failover", strFailover, "bool", TRUE); + + CString strPoll = GetGlobal("RemoteAdminPoll"); + if (strPoll == "1") + { + CString strPollFreq = GetGlobal("RemoteAdminPollFreq"); + ModifyHashedPref(strPrefFile, "autoadmin.refresh_interval", strPollFreq, "int", TRUE); + } return TRUE;