Updated MiniProfiler to v2

This commit is contained in:
Mark McDowall 2012-07-27 14:31:33 -07:00
commit 216bf08ced
16 changed files with 2407 additions and 123 deletions

View file

@ -1,4 +1,5 @@
using System.Web.Mvc;
using StackExchange.Profiling;
namespace NzbDrone.Web.Controllers
{
@ -7,7 +8,7 @@ namespace NzbDrone.Web.Controllers
[HttpGet]
public JsonResult Index()
{
MvcMiniProfiler.MiniProfiler.Stop(true);
MiniProfiler.Stop(true);
return Json("OK", JsonRequestBehavior.AllowGet);
}

View file

@ -1,8 +1,8 @@
using System.Threading;
using System.Web.Mvc;
using System.Web.UI;
using MvcMiniProfiler;
using NzbDrone.Core.Providers;
using StackExchange.Profiling;
namespace NzbDrone.Web.Controllers
{

View file

@ -4,7 +4,6 @@ using System.IO;
using System.Linq;
using System.Web.Mvc;
using System.Web.Script.Serialization;
using MvcMiniProfiler;
using NzbDrone.Common.Model;
using NzbDrone.Core;
using NzbDrone.Core.Helpers;
@ -14,6 +13,7 @@ using NzbDrone.Core.Providers;
using NzbDrone.Core.Repository;
using NzbDrone.Core.Repository.Quality;
using NzbDrone.Web.Models;
using StackExchange.Profiling;
namespace NzbDrone.Web.Controllers
{