From 3bbe50902df85008527d0a903592e92083f22a8e Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 23 Oct 2014 16:09:25 +0200 Subject: [PATCH] Added payroll processing --- Backend/Program.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Backend/Program.cs b/Backend/Program.cs index 3cc12850..b57f59a6 100644 --- a/Backend/Program.cs +++ b/Backend/Program.cs @@ -5,6 +5,7 @@ using Mono.Unix.Native; using Swarmops.Database; using Swarmops.Logic.Communications; using Swarmops.Logic.Communications.Transmission; +using Swarmops.Logic.Financial; using Swarmops.Logic.Support; using Swarmops.Utility; using Swarmops.Utility.BotCode; @@ -609,6 +610,14 @@ namespace Swarmops.Backend try { + if (!PilotInstallationIds.IsPilot(PilotInstallationIds.PiratePartySE)) + { + // PPSE is still running PW4 code for this, so don't run for PPSE + + Payroll.ProcessMonthly(); // will only actually run on the 1st, but no harm in testing every noon + } + + if (!testMode) { /*TestTrace("Running RosterHousekeeping.RemindAllExpiries()...");