public void setStatus(string ID, string status, bool cinderella, bool importRunning)
{
string query = "";
if (cinderella)
{//Set status of cinderella
query = "INSERT INTO [CinderellaTimestamp]([cinderellaID], [timestamp], [status]) VALUES(";
}
else
{//Set status of godmother
query = "INSERT INTO [FairyGodmotherTimestamp]([fairyGodmotherID], [timestamp], [status]) VALUES(";
}
//Lets finish our statement!
query += ID + ", GetDate(),'" + status + "')";
//Execute our lovely query!
database.ExecuteQuery(query);
//check if this is an import if its an import wait untill it is finished to run this
//NH: Matchmaker will only be run from a single form now
/*if (importRunning == false)
{
//Run MatchMaker!
MatchMakerProcess();
}*/
}