This commit is contained in:
Virtuworks 2014-04-22 00:03:16 -04:00
commit 1c997c80c2

View file

@ -474,6 +474,7 @@ namespace WebsitePanel.Providers.HostedSolution
HostedSolutionLog.DebugInfo("organizationId: {0}", organizationId); HostedSolutionLog.DebugInfo("organizationId: {0}", organizationId);
HostedSolutionLog.DebugInfo("userUpn: {0}", userUpn); HostedSolutionLog.DebugInfo("userUpn: {0}", userUpn);
bool bCloseRunSpace = false; bool bCloseRunSpace = false;
bool bResult = false;
try try
{ {
@ -531,6 +532,8 @@ namespace WebsitePanel.Providers.HostedSolution
command = new Command("Update-CsUserDatabase"); command = new Command("Update-CsUserDatabase");
ExecuteShellCommand(runspace, command, false); ExecuteShellCommand(runspace, command, false);
bResult = true;
} }
catch (Exception ex) catch (Exception ex)
{ {
@ -547,7 +550,7 @@ namespace WebsitePanel.Providers.HostedSolution
HostedSolutionLog.LogEnd("SetLyncUserPlanInternal"); HostedSolutionLog.LogEnd("SetLyncUserPlanInternal");
return true; return bResult;
} }
/// <summary> Deletes user.</summary> /// <summary> Deletes user.</summary>