diff --git a/server/AyaNova/biz/EventLogProcessor.cs b/server/AyaNova/biz/EventLogProcessor.cs
index 1e2858c4..49858478 100644
--- a/server/AyaNova/biz/EventLogProcessor.cs
+++ b/server/AyaNova/biz/EventLogProcessor.cs
@@ -77,12 +77,13 @@ namespace AyaNova.Biz
}).ToArray();
return ret;
-
}
-
+ ///
+ /// Get the event log for a specified User
+ ///
internal static async Task GetLogForUser(AyaNova.Api.Controllers.EventLogController.EventLogOptions opt, AyContext ct)
{
//Set up the query
@@ -101,13 +102,12 @@ namespace AyaNova.Biz
//Execute the query
var EventItems = await q.ToArrayAsync();
- //convert the Event array to the correct return type array
- //DateTime, ObjectType, ObjectId, Event, Textra
+ //convert the Event array to the correct return type array
var ret = EventItems.Select(m => new AyaNova.Api.Controllers.EventLogController.UserEventLogItem()
{
Date = m.Created,
- ObjectType=m.AyType,
- ObjectId= m.AyId,
+ ObjectType = m.AyType,
+ ObjectId = m.AyId,
Event = m.AyEvent,
Textra = m.Textra
}).ToArray();
@@ -117,35 +117,9 @@ namespace AyaNova.Biz
- internal static string BuildLogEntry(bool userFormat, Event ev, List> lt)
- {
- StringBuilder S = new StringBuilder();
-
- //Object format:
- //DateTime, UserId, ActionNumber, Textra
-
- //User format:
- //DateTime, ObjectType, ObjectId, ActionNumber, Textra
-
- ev
-
-
- switch (ev.AyEvent)
- {
- case AyaEvent.Created:
-
- break;
- }
-
- return ":";
- }
-
-
/////////////////////////////////////////////////////////////////////
-
-
}//eoc
}//eons