Disabled or removed tons of hardcoded functionality - needs to be generalized and localized or removed entirely

This commit is contained in:
Rick Falkvinge
2014-10-22 10:31:55 +02:00
parent d5726014e0
commit 4535df2ccc
13 changed files with 101 additions and 439 deletions
+7 -3
View File
@@ -9,8 +9,12 @@ namespace Swarmops.Utility.BotCode
{
public class TurnaroundTracker
{
[Obsolete("This is dependent on a specific support system. Should move to plugin.", true)]
public static void Run()
{
throw new NotImplementedException("Disabled for Swarmops");
/*
const string persistenceKey = "PPSE-LastSupportDeltaId";
string lastDeltaIdString = Persistence.Key[persistenceKey];
@@ -80,9 +84,9 @@ namespace Swarmops.Utility.BotCode
}
}
Persistence.Key[persistenceKey] = lastDeltaId.ToString();
Persistence.Key[persistenceKey] = lastDeltaId.ToString();*/
}
/*
public static void Housekeeping()
{
CommunicationTurnarounds turnarounds = CommunicationTurnarounds.ForOrganization(Organization.PPSE);
@@ -100,6 +104,6 @@ namespace Swarmops.Utility.BotCode
SwarmDb.GetDatabaseForWriting().SetCommunicationTurnaroundClosed(Organization.PPSEid, 1, turnaround.CommunicationId, (DateTime) dateTimeClosed, 0);
}
}
}
}*/
}
}