mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02: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