From 53bb557df7662a45b7d06a2bb3a20b6fd97d0717 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 6 Jul 2013 09:01:14 +0000 Subject: [PATCH] OutboundComms test in backend --- Backend/Program.cs | 5 +++++ Site5/Master-v5.master.cs | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Backend/Program.cs b/Backend/Program.cs index 446b9dab..361a980c 100644 --- a/Backend/Program.cs +++ b/Backend/Program.cs @@ -10,6 +10,8 @@ using System.Net.Mail; using Swarmops.Basic; using Swarmops.Basic.Enums; using Swarmops.Database; +using Swarmops.Logic.Communications; +using Swarmops.Logic.Communications.Transmission; using Swarmops.Logic.Financial; using Swarmops.Logic.Swarm; using Swarmops.Logic.Structure; @@ -134,6 +136,9 @@ namespace Swarmops.Backend BotLog.Write(0, "MainCycle", "Backend STARTING"); + OutboundComm.CreateNotification(null, NotificationResource.System_Startup); + + DateTime cycleStartTime = DateTime.Now; int lastSecond = cycleStartTime.Second; diff --git a/Site5/Master-v5.master.cs b/Site5/Master-v5.master.cs index 26365e8a..3d66691f 100644 --- a/Site5/Master-v5.master.cs +++ b/Site5/Master-v5.master.cs @@ -37,8 +37,6 @@ namespace Swarmops _authority = _currentUser.GetAuthority(); _currentOrganization = Organization.FromIdentity(currentOrganizationId); - OutboundComm.CreateNotification(null, NotificationResource.System_Startup); - } protected void Page_Load(object sender, EventArgs e)