From e4d4aa935ace27ab315e339a5af67dbefaf9680e Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Sun, 4 Nov 2012 08:56:50 +0600 Subject: [PATCH] fixed attempt to initialize it's False property, changed IPublishedStore back to internal... was my mistake to make this public just yet. --- src/Umbraco.Core/Attempt.cs | 2 +- src/Umbraco.Web/IPublishedStore.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Core/Attempt.cs b/src/Umbraco.Core/Attempt.cs index 927f68d7a4..c184c5670a 100644 --- a/src/Umbraco.Core/Attempt.cs +++ b/src/Umbraco.Core/Attempt.cs @@ -41,7 +41,7 @@ namespace Umbraco.Core /// /// Represents an unsuccessful parse operation /// - public static readonly Attempt False; + public static readonly Attempt False = new Attempt(false, default(T)); /// /// Initializes a new instance of the struct. diff --git a/src/Umbraco.Web/IPublishedStore.cs b/src/Umbraco.Web/IPublishedStore.cs index 0eae294911..acc41a9d0a 100644 --- a/src/Umbraco.Web/IPublishedStore.cs +++ b/src/Umbraco.Web/IPublishedStore.cs @@ -6,7 +6,7 @@ namespace Umbraco.Web /// /// Defines the methods for published documents /// - public interface IPublishedStore + internal interface IPublishedStore { IPublishedContent GetDocumentById(UmbracoContext umbracoContext, int nodeId); IEnumerable GetRootDocuments(UmbracoContext umbracoContext);