Revert change to overridden save method on key value repository.

This commit is contained in:
Andy Butland
2020-03-28 15:20:17 +01:00
parent 8958cf90b9
commit 5a29365063
2 changed files with 13 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
/// </summary>
/// <remarks>This method is backed by an <see cref="IAppPolicyCache"/> cache</remarks>
/// <param name="entity"></param>
public void Save(TEntity entity)
public virtual void Save(TEntity entity)
{
if (entity.HasIdentity == false)
CachePolicy.Create(entity, PersistNewItem);