Housekeeping: Removed Database warnings

This commit is contained in:
Rick Falkvinge
2017-12-04 15:59:50 +01:00
parent ac39191cc7
commit 4a2e8c6fb8
12 changed files with 19 additions and 24 deletions
+2 -2
View File
@@ -148,8 +148,8 @@ namespace Swarmops.Logic.Communications
ForwardMessage (from, to, subject, body);
msg.ReplyMessage +=
"\r\nDitt meddelande har vidarebefordrats till medlemsservice@piratpartiet.se. Kontakta oss om du undrar över något.";
PWLog.Write (PWLogItem.None, 0, PWLogAction.SMSHandled, "Forwarded SMS from " + msg.FromNumber + " to " + to,
msg.Message + "\r\n" + msg.ErrorMessage);
//PWLog.Write (PWLogItem.None, 0, PWLogAction.SMSHandled, "Forwarded SMS from " + msg.FromNumber + " to " + to,
// msg.Message + "\r\n" + msg.ErrorMessage);
return true;
}
-1
View File
@@ -422,7 +422,6 @@
<Compile Include="Support\LogicServices.cs" />
<Compile Include="Support\Optimizations.cs" />
<Compile Include="Support\Persistence.cs" />
<Compile Include="Support\PWLog.cs" />
<Compile Include="Support\PirateWebDebug.cs" />
<Compile Include="Support\QuotedPrintable.cs" />
<Compile Include="Support\SerializableDictionary.cs" />
+3 -3
View File
@@ -18,7 +18,7 @@ namespace Swarmops.Logic.Support
0,
string.Empty);
p.TerminateActivist();
PWLog.Write (PWLogItem.Person, p.Identity, PWLogAction.ActivistLost, "Lost as activist", string.Empty);
//PWLog.Write (PWLogItem.Person, p.Identity, PWLogAction.ActivistLost, "Lost as activist", string.Empty);
}
@@ -34,8 +34,8 @@ namespace Swarmops.Logic.Support
0,
string.Empty);
newActivist.CreateActivist (isPublic, isConfirmed);
PWLog.Write (newActivist, PWLogItem.Person, newActivist.Identity, PWLogAction.ActivistJoin,
"New activist joined.", logMessage);
//PWLog.Write (newActivist, PWLogItem.Person, newActivist.Identity, PWLogAction.ActivistJoin,
// "New activist joined.", logMessage);
}
}
}
+4 -2
View File
@@ -284,8 +284,10 @@ namespace Swarmops.Logic.Swarm
{
if (this.executor != null && ("" + oldVal).Trim() != ("" + newVal).Trim())
{
PWLog.Write (this.executor, PWLogItem.Person, this.person.Identity, PWLogAction.PersonFieldChange,
this.actionDescr, "", field, "" + oldVal, "" + newVal);
//PWLog.Write (this.executor, PWLogItem.Person, this.person.Identity, PWLogAction.PersonFieldChange,
// this.actionDescr, "", field, "" + oldVal, "" + newVal);
// TODO: New log format
}
}
+2 -2
View File
@@ -197,8 +197,8 @@ namespace Swarmops.Logic.Swarm
// REMOVED: everything Roles related; being phased out
PWLog.Write (actingPerson.Identity, PWLogItem.Person, Person.Identity, PWLogAction.MemberLost,
eventSource + ":" + description, string.Empty);
//PWLog.Write (actingPerson.Identity, PWLogItem.Person, Person.Identity, PWLogAction.MemberLost,
// eventSource + ":" + description, string.Empty);
PWEvents.CreateEvent (EventSource.PirateWeb, EventType.LostMember, actingPerson.Identity, OrganizationId, Person.GeographyId,
Person.Identity, 0, OrganizationId.ToString());