Tidy up formatting
This commit is contained in:
@@ -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 />
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user