From feba51a49dce847dff2c3bafe3173222b0e38415 Mon Sep 17 00:00:00 2001 From: Mole Date: Fri, 23 May 2025 11:46:16 +0200 Subject: [PATCH] Use correct service name in obsoletion method (#19398) Use correct service in obsoletion method --- src/Umbraco.Core/PublishedCache/IPublishedCache.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Core/PublishedCache/IPublishedCache.cs b/src/Umbraco.Core/PublishedCache/IPublishedCache.cs index 2a8809deb6..e322b88d03 100644 --- a/src/Umbraco.Core/PublishedCache/IPublishedCache.cs +++ b/src/Umbraco.Core/PublishedCache/IPublishedCache.cs @@ -101,7 +101,7 @@ public interface IPublishedCache /// /// The content type unique identifier. /// The content type, or null. - [Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")] + [Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")] IPublishedContentType? GetContentType(int id); /// @@ -110,7 +110,7 @@ public interface IPublishedCache /// The content type alias. /// The content type, or null. /// The alias is case-insensitive. - [Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")] + [Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")] IPublishedContentType? GetContentType(string alias); /// @@ -126,6 +126,6 @@ public interface IPublishedCache /// /// The content type key. /// The content type, or null. - [Obsolete("Please use the IContentTypeCacheService instead, scheduled for removal in V16")] + [Obsolete("Please use the IPublishedContentTypeCache instead, scheduled for removal in V16")] IPublishedContentType? GetContentType(Guid key); }