From d44ee715a968a0c058bc0fdf57252cd9ec16e8e5 Mon Sep 17 00:00:00 2001 From: Stephan Date: Thu, 20 Oct 2016 12:22:08 +0200 Subject: [PATCH] Minor cleanup --- src/Umbraco.Core/Persistence/UmbracoDatabase.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Umbraco.Core/Persistence/UmbracoDatabase.cs b/src/Umbraco.Core/Persistence/UmbracoDatabase.cs index 4c0434becd..ec2b37d428 100644 --- a/src/Umbraco.Core/Persistence/UmbracoDatabase.cs +++ b/src/Umbraco.Core/Persistence/UmbracoDatabase.cs @@ -111,8 +111,6 @@ namespace Umbraco.Core.Persistence { if (connection == null) throw new ArgumentNullException(nameof(connection)); - // fixme could we avoid re-wrapping all of the time if the underlying cnx object does not change? (does it?) (should it?) - // wrap the connection with a profiling connection that tracks timings connection = new StackExchange.Profiling.Data.ProfiledDbConnection(connection, MiniProfiler.Current); @@ -146,7 +144,7 @@ namespace Umbraco.Core.Persistence sb.Append(" - "); sb.Append(p.Value); } - + _logger.Debug(sb.ToString()); }