mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-19 21:44:30 -04:00
make model change events opt-in per repository
This commit is contained in:
@@ -23,10 +23,5 @@ namespace NzbDrone.Core.Instrumentation
|
||||
var oldIds = Query.Where(c => c.Time < DateTime.Now.AddDays(-30).Date).Select(c => c.Id);
|
||||
DeleteMany(oldIds);
|
||||
}
|
||||
|
||||
protected override void PublishModelEvent(Log model, Datastore.Events.RepositoryAction action)
|
||||
{
|
||||
//Don't publish log added events.
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user