Disabled Offline Address Book Generation after creating first mailbox

This commit is contained in:
robvde 2013-01-08 14:16:52 +04:00
parent e2c94261c6
commit affb690860

View file

@ -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)
{