Skip to content

Commit 078c140

Browse files
Use correct service in obsoletion method
1 parent 3f10bd8 commit 078c140

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Umbraco.Core/PublishedCache/IPublishedCache.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public interface IPublishedCache
101101
/// </summary>
102102
/// <param name="id">The content type unique identifier.</param>
103103
/// <returns>The content type, or null.</returns>
104-
[Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")]
104+
[Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")]
105105
IPublishedContentType? GetContentType(int id);
106106

107107
/// <summary>
@@ -110,7 +110,7 @@ public interface IPublishedCache
110110
/// <param name="alias">The content type alias.</param>
111111
/// <returns>The content type, or null.</returns>
112112
/// <remarks>The alias is case-insensitive.</remarks>
113-
[Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")]
113+
[Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")]
114114
IPublishedContentType? GetContentType(string alias);
115115

116116
/// <summary>
@@ -126,6 +126,6 @@ public interface IPublishedCache
126126
/// </summary>
127127
/// <param name="key">The content type key.</param>
128128
/// <returns>The content type, or null.</returns>
129-
[Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")]
129+
[Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")]
130130
IPublishedContentType? GetContentType(Guid key);
131131
}

0 commit comments

Comments
 (0)