From affb6908605f5937e99fa5de46953da16158182b Mon Sep 17 00:00:00 2001 From: robvde Date: Tue, 8 Jan 2013 14:16:52 +0400 Subject: [PATCH 1/5] Disabled Offline Address Book Generation after creating first mailbox --- .../Code/ExchangeServer/ExchangeServerController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs index 9e8665bb..988fa45d 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs @@ -1761,8 +1761,8 @@ namespace WebsitePanel.EnterpriseServer { // update OAB // check if this is the first mailbox within the organization - if (GetAccounts(itemId, ExchangeAccountType.Mailbox).Count == 1) - exchange.UpdateOrganizationOfflineAddressBook(org.OfflineAddressBook); + // if (GetAccounts(itemId, ExchangeAccountType.Mailbox).Count == 1) + // exchange.UpdateOrganizationOfflineAddressBook(org.OfflineAddressBook); } catch (Exception ex) { From f5a5743475f585df86050b182ffffef51ec2d7ea Mon Sep 17 00:00:00 2001 From: robvde Date: Wed, 9 Jan 2013 08:12:45 +0400 Subject: [PATCH 2/5] Reverses change applied for OAB related issues --- .../Code/ExchangeServer/ExchangeServerController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs index 988fa45d..9e8665bb 100644 --- a/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs +++ b/WebsitePanel/Sources/WebsitePanel.EnterpriseServer/Code/ExchangeServer/ExchangeServerController.cs @@ -1761,8 +1761,8 @@ namespace WebsitePanel.EnterpriseServer { // update OAB // check if this is the first mailbox within the organization - // if (GetAccounts(itemId, ExchangeAccountType.Mailbox).Count == 1) - // exchange.UpdateOrganizationOfflineAddressBook(org.OfflineAddressBook); + if (GetAccounts(itemId, ExchangeAccountType.Mailbox).Count == 1) + exchange.UpdateOrganizationOfflineAddressBook(org.OfflineAddressBook); } catch (Exception ex) { From 0d80eb3e6d309c222fea4f6785f3581da8298d01 Mon Sep 17 00:00:00 2001 From: Christopher York Date: Wed, 9 Jan 2013 17:27:45 -0600 Subject: [PATCH 3/5] Fixed: Parse error: syntax error, unexpected T_BOOLEAN_OR error --- WebsitePanel.WHMCSModule/includes/hooks/websitepanel_sync.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_sync.php b/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_sync.php index 1487b98e..46a7a10e 100644 --- a/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_sync.php +++ b/WebsitePanel.WHMCSModule/includes/hooks/websitepanel_sync.php @@ -53,7 +53,7 @@ function websitepanel_sync_ClientEdit($params) // Retrieve the WebsitePanel Addons module settings $modSettings = websitepanel_sync_GetSettings(); - if (empty($modSettings['username']) || empty($modSettings['password'])) || empty($modSettings['serverhost'])) || empty($modSettings['serverport']))) + if (empty($modSettings['username']) || empty($modSettings['password']) || empty($modSettings['serverhost']) || empty($modSettings['serverport'])) { // The module is disabled or has not yet been configured - stop return; From 59d81153a2ede0c81f1681075e74df7248156d49 Mon Sep 17 00:00:00 2001 From: Virtuworks Date: Wed, 9 Jan 2013 21:00:13 -0500 Subject: [PATCH 4/5] Added tag build-2.1.0.4 for changeset b3e571e27b28 From 97ff1c78355e9e34c3dadfce44b3ad7817288a1d Mon Sep 17 00:00:00 2001 From: Virtuworks Date: Wed, 9 Jan 2013 21:03:17 -0500 Subject: [PATCH 5/5] Added tag build-2.1.0.6 for changeset abdf08407779