mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Ninject is now forced to use proper constructor.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Web.Mvc;
|
||||
using MvcMiniProfiler;
|
||||
using NzbDrone.Core.Providers;
|
||||
|
||||
namespace NzbDrone.Web.Controllers
|
||||
@@ -35,6 +36,12 @@ namespace NzbDrone.Web.Controllers
|
||||
message = _notifications.GetProgressNotifications[0].CurrentMessage;
|
||||
}
|
||||
|
||||
|
||||
if (MiniProfiler.Current.DurationMilliseconds < 100)
|
||||
{
|
||||
MiniProfiler.Stop(true);
|
||||
}
|
||||
|
||||
return Json(message, JsonRequestBehavior.AllowGet);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user