CinderellaMGS.SQL_Queries.DeleteGodMother C# (CSharp) Method

DeleteGodMother() public method

Deletes a Godmother from the system. Actually this method just sets the delete flag since we don't actually want to delete the godmother from the database.
public DeleteGodMother ( string godmotherID ) : void
godmotherID string Godmother ID to delete
return void
        public void DeleteGodMother(string godmotherID)
        {
            string tempSQLa = "UPDATE FairyGodmother SET deleted=1 WHERE ID=";
            string tempSQLb = godmotherID;
            string sql = tempSQLa + tempSQLb;

            database.ExecuteQuery(sql);
        }