Upgraded to MiniProfiler 1.9.

Updated to latest WebActivator.
This commit is contained in:
Mark McDowall
2011-09-07 18:56:00 -07:00
parent 6bfe26ea7f
commit f8be43a486
16 changed files with 156 additions and 55 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Data.Common;
using System.Data.SqlServerCe;
using System.Text;
using MvcMiniProfiler;
using MvcMiniProfiler.Data;
namespace NzbDrone.Core.Datastore
@@ -18,7 +19,7 @@ namespace NzbDrone.Core.Datastore
if (IsProfiled)
{
connection = ProfiledDbConnection.Get(sqliteConnection);
connection = new ProfiledDbConnection(sqliteConnection, MiniProfiler.Current);
}
return connection;