merge commit
This commit is contained in:
commit
e3901f2440
7 changed files with 598 additions and 454 deletions
|
@ -1492,7 +1492,6 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
private static bool AccountExists(string accountName, int ServiceId)
|
||||
{
|
||||
|
||||
if (!DataProvider.ExchangeAccountExists(accountName))
|
||||
{
|
||||
Organizations orgProxy = GetOrganizationProxy(ServiceId);
|
||||
|
@ -1503,6 +1502,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
else
|
||||
return true;
|
||||
|
||||
|
||||
}
|
||||
|
||||
public static int DeleteUser(int itemId, int accountId)
|
||||
|
|
|
@ -162,7 +162,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
counter++;
|
||||
}
|
||||
|
||||
{
|
||||
// skip execution if the current task is still running
|
||||
scheduledTasks = TaskManager.GetScheduledTasks();
|
||||
if (!scheduledTasks.ContainsKey(schedule.ScheduleInfo.ScheduleId))
|
||||
|
|
|
@ -199,7 +199,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
nextStart = lastRun.AddSeconds(schedule.Interval);
|
||||
}
|
||||
|
||||
if(nextStart < now)
|
||||
if (nextStart < now)
|
||||
nextStart = now; // run immediately
|
||||
|
||||
// check if start time is in allowed interval
|
||||
|
@ -261,7 +261,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
if (accountCheck < 0) return accountCheck;
|
||||
|
||||
// check quota
|
||||
if(PackageController.GetPackageQuota(schedule.PackageId, Quotas.OS_SCHEDULEDTASKS).QuotaExhausted)
|
||||
if (PackageController.GetPackageQuota(schedule.PackageId, Quotas.OS_SCHEDULEDTASKS).QuotaExhausted)
|
||||
return BusinessErrorCodes.ERROR_OS_SCHEDULED_TASK_QUOTA_LIMIT;
|
||||
|
||||
CalculateNextStartTime(schedule);
|
||||
|
|
|
@ -71,7 +71,7 @@ namespace WebsitePanel.EnterpriseServer
|
|||
|
||||
private static string[] getFeedsFromSettingsByServiceId(int serviceId)
|
||||
{
|
||||
var wpiSettings = SystemController.GetSystemSettings(SystemSettings.WPI_SETTINGS);
|
||||
var wpiSettings = SystemController.GetSystemSettingsInternal(SystemSettings.WPI_SETTINGS,false);
|
||||
|
||||
List<string> feeds = new List<string>();
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -3,7 +3,7 @@
|
|||
<Version>2.1.0</Version>
|
||||
<FileVersion>$(BUILD_NUMBER)</FileVersion>
|
||||
<VersionLabel>$(BUILD_NUMBER)</VersionLabel>
|
||||
<ReleaseDate>2012-01-22</ReleaseDate>
|
||||
<ReleaseDate>2012-01-25</ReleaseDate>
|
||||
<BuildConfiguration></BuildConfiguration>
|
||||
<RootFolder>..</RootFolder>
|
||||
<TrunkFolder>$(RootFolder)\WebsitePanel</TrunkFolder>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue