mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
leftover notification code
This commit is contained in:
@@ -29,13 +29,13 @@ namespace NzbDrone.Web.Controllers
|
||||
public JsonResult Trim()
|
||||
{
|
||||
_historyProvider.Trim();
|
||||
return new JsonResult { Data = "ok" };
|
||||
return Json(new NotificationResult() { Title = "Trimmed History items"});
|
||||
}
|
||||
|
||||
public JsonResult Purge()
|
||||
{
|
||||
_historyProvider.Purge();
|
||||
return new JsonResult { Data = "ok" };
|
||||
return Json(new NotificationResult() { Title = "History Cleared" });
|
||||
}
|
||||
|
||||
[GridAction]
|
||||
|
Reference in New Issue
Block a user