Removes more usages of legacy Access class to use new IPublicAccessService

This commit is contained in:
Shannon
2015-01-28 19:46:05 +11:00
parent 5a76e380de
commit 1b161c8dbe
6 changed files with 74 additions and 56 deletions

View File

@@ -106,7 +106,7 @@ namespace Umbraco.Web.Trees
if (entity.HasPendingChanges)
node.SetHasUnpublishedVersionStyle();
if (Access.IsProtected(e.Id, e.Path))
if (Services.PublicAccessService.IsProtected(e.Path))
node.SetProtectedStyle();
return node;