mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-10-04 15:19:43 +00:00
Remove debug prints and prevent activities from being registered in read only mode
This commit is contained in:
parent
27cbb14a49
commit
180cac5aa9
3 changed files with 20 additions and 37 deletions
|
@ -30,9 +30,6 @@ public class ActivityController : ControllerBase
|
|||
this.database = database;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This method is only used for LBP2 so we exclude playlists
|
||||
/// </summary>
|
||||
private async Task<IQueryable<ActivityDto>> GetFilters
|
||||
(
|
||||
IQueryable<ActivityDto> dtoQuery,
|
||||
|
@ -123,8 +120,6 @@ public class ActivityController : ControllerBase
|
|||
dto.Activity.Type != EventType.AddLevelToPlaylist);
|
||||
}
|
||||
|
||||
Logger.Debug(predicate.ToString(), LogArea.Activity);
|
||||
|
||||
dtoQuery = dtoQuery.Where(predicate);
|
||||
|
||||
return dtoQuery;
|
||||
|
@ -344,8 +339,6 @@ public class ActivityController : ControllerBase
|
|||
|
||||
List<OuterActivityGroup> outerGroups = groups.ToOuterActivityGroups();
|
||||
|
||||
PrintOuterGroups(outerGroups);
|
||||
|
||||
long oldestTimestamp = GetOldestTime(groups, times.Start).ToUnixTimeMilliseconds();
|
||||
|
||||
await this.CacheEntities(outerGroups);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue