mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
leftover notification code
This commit is contained in:
parent
5ab07d7028
commit
1e9ae9a508
6 changed files with 16 additions and 13 deletions
|
@ -1,5 +1,6 @@
|
|||
using System.Web.Mvc;
|
||||
using NzbDrone.Core.Instrumentation;
|
||||
using NzbDrone.Web.Models;
|
||||
using Telerik.Web.Mvc;
|
||||
|
||||
namespace NzbDrone.Web.Controllers
|
||||
|
@ -22,7 +23,7 @@ namespace NzbDrone.Web.Controllers
|
|||
{
|
||||
_logProvider.DeleteAll();
|
||||
|
||||
return new JsonResult { Data = "ok" };
|
||||
return Json(new NotificationResult() { Title = "Logs Cleared" });
|
||||
}
|
||||
|
||||
[GridAction]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue