diff --git a/src/Umbraco.Core/Extensions/PublishedModelFactoryExtensions.cs b/src/Umbraco.Core/Extensions/PublishedModelFactoryExtensions.cs index b714caf744..b4ffc40130 100644 --- a/src/Umbraco.Core/Extensions/PublishedModelFactoryExtensions.cs +++ b/src/Umbraco.Core/Extensions/PublishedModelFactoryExtensions.cs @@ -12,7 +12,7 @@ namespace Umbraco.Extensions public static class PublishedModelFactoryExtensions { /// - /// Returns true if the current is an implementation of and is enabled + /// Returns true if the current is an implementation of and is enabled /// public static bool IsLiveFactoryEnabled(this IPublishedModelFactory factory) { @@ -21,8 +21,8 @@ namespace Umbraco.Extensions return liveFactory.Enabled; } - // if it's not ILivePublishedModelFactory we can't determine if it's enabled or not so return true - return true; + // if it's not ILivePublishedModelFactory we know we're not using a live factory + return false; } ///