File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Umbraco.Core/Extensions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace Umbraco.Extensions
12
12
public static class PublishedModelFactoryExtensions
13
13
{
14
14
/// <summary>
15
- /// Returns true if the current <see cref="IPublishedModelFactory"/> is an implementation of <see cref="ILivePublishedModelFactory2 "/> and is enabled
15
+ /// Returns true if the current <see cref="IPublishedModelFactory"/> is an implementation of <see cref="IAutoPublishedModelFactory "/> and is enabled
16
16
/// </summary>
17
17
public static bool IsLiveFactoryEnabled ( this IPublishedModelFactory factory )
18
18
{
@@ -21,8 +21,8 @@ public static bool IsLiveFactoryEnabled(this IPublishedModelFactory factory)
21
21
return liveFactory . Enabled ;
22
22
}
23
23
24
- // if it's not ILivePublishedModelFactory we can't determine if it's enabled or not so return true
25
- return true ;
24
+ // if it's not ILivePublishedModelFactory we know we're not using a live factory
25
+ return false ;
26
26
}
27
27
28
28
/// <summary>
You can’t perform that action at this time.
0 commit comments