Skip to content

Commit

Permalink
Remove unnused method
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienros committed Mar 29, 2024
1 parent 64062ff commit b4bc8cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ public DefaultShapeTableManager(
_logger = logger;
}

public ShapeTable GetShapeTable(string themeId)
=> GetShapeTableAsync(themeId).GetAwaiter().GetResult();

public Task<ShapeTable> GetShapeTableAsync(string themeId)
{
// This method is intentionally kept non-async since most calls
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
using System;
using System.Threading.Tasks;

namespace OrchardCore.DisplayManagement.Descriptors;

public interface IShapeTableManager
{
[Obsolete($"Instead, utilize the {nameof(GetShapeTableAsync)} method. This current method is slated for removal in upcoming releases.")]
ShapeTable GetShapeTable(string themeId);

Task<ShapeTable> GetShapeTableAsync(string themeId);
}

0 comments on commit b4bc8cb

Please sign in to comment.