should be able to queue report using api.

This commit is contained in:
kay.one 2013-06-09 13:50:57 -07:00
commit ac3582d5c4
22 changed files with 91 additions and 270 deletions

View file

@ -20,7 +20,7 @@ namespace NzbDrone.Core.Instrumentation
public void Trim()
{
var oldIds = Query.Where(c => c.Time < DateTime.Now.AddDays(-30).Date).Select(c => c.Id);
var oldIds = Query.Where(c => c.Time < DateTime.UtcNow.AddDays(-30).Date).Select(c => c.Id);
DeleteMany(oldIds);
}
}