Obsolete CreatorName and WriterName on IPublishedContent

This commit is contained in:
Steve Temple
2020-01-31 09:34:08 +00:00
parent 537674a0b3
commit 377f1925ea
6 changed files with 32 additions and 2 deletions

View File

@@ -163,6 +163,8 @@ namespace Umbraco.Web.PublishedCache.NuCache
public override int CreatorId => _contentNode.CreatorId;
/// <inheritdoc />
[Obsolete("Use CreatorName(IUserService) extension instead")]
public override string CreatorName => GetProfileNameById(_contentNode.CreatorId);
/// <inheritdoc />
@@ -172,6 +174,8 @@ namespace Umbraco.Web.PublishedCache.NuCache
public override int WriterId => ContentData.WriterId;
/// <inheritdoc />
[Obsolete("Use WriterName(IUserService) extension instead")]
public override string WriterName => GetProfileNameById(ContentData.WriterId);
/// <inheritdoc />