Tidy up formatting

This commit is contained in:
Steve Temple
2020-01-31 09:50:37 +00:00
parent 377f1925ea
commit b95d674092
3 changed files with 0 additions and 6 deletions

View File

@@ -55,7 +55,6 @@ namespace Umbraco.Web.Models
/// <inheritdoc />
[Obsolete("Use CreatorName(IUserService) extension instead")]
public abstract string CreatorName { get; }
/// <inheritdoc />
@@ -66,7 +65,6 @@ namespace Umbraco.Web.Models
/// <inheritdoc />
[Obsolete("Use WriterName(IUserService) extension instead")]
public abstract string WriterName { get; }
/// <inheritdoc />

View File

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

View File

@@ -141,12 +141,10 @@ namespace Umbraco.Web.PublishedCache
// TODO: ARGH! need to fix this - this is not good because it uses ApplicationContext.Current
[Obsolete("Use WriterName(IUserService) extension instead")]
public override string WriterName => _member.GetCreatorProfile().Name;
// TODO: ARGH! need to fix this - this is not good because it uses ApplicationContext.Current
[Obsolete("Use CreatorName(IUserService) extension instead")]
public override string CreatorName => _member.GetCreatorProfile().Name;
public override int WriterId => _member.CreatorId;