Very minor cleanup in the LayerHintHandler

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2011-03-24 14:59:13 -07:00
parent 6d6d7fbb5b
commit ccd27a4944

View File

@@ -17,8 +17,6 @@ namespace Orchard.Widgets.Handlers {
if (!(context.ContentType == "Page" && context.PreviousItemVersionRecord == null && !string.IsNullOrWhiteSpace(part.Path)))
return;
var urlHelper = new UrlHelper(requestContext);
var pathForLayer = "~/" + part.Path;
services.Notifier.Information(T("Would you like to <a href=\"{0}\">add a widget layer</a> for \"{1}\"?",