This commit is contained in:
@@ -16,6 +16,7 @@ namespace AyaNova.Util
|
||||
internal static bool BOOTING { get; set; }
|
||||
|
||||
internal static GlobalOpsBackupSettings Backup { get; set; }
|
||||
internal static GlobalOpsNotificationSettings Notify {get;set;}
|
||||
internal static DateTime NextBackup { get; set; }
|
||||
/// <summary>
|
||||
/// Populate and / or create the settings
|
||||
@@ -32,6 +33,13 @@ namespace AyaNova.Util
|
||||
}
|
||||
NextBackup = FileUtil.MostRecentAutomatedBackupFileDate();
|
||||
SetNextBackup();
|
||||
|
||||
|
||||
Notify=ct.GlobalOpsNotificationSettings.FirstOrDefault(z=>z.Id==1);
|
||||
if(Notify==null)
|
||||
{
|
||||
Notify=new GlobalOpsNotificationSettings();
|
||||
}
|
||||
}
|
||||
|
||||
internal static void SetNextBackup()
|
||||
|
||||
Reference in New Issue
Block a user