Removed concrete type checks for back-office published cache details, so now working from interface. Renamed controller and FE assets to more generic name.

This commit is contained in:
Andy Butland
2020-02-04 19:18:35 +01:00
parent 28267087ef
commit b0c752bc5c
9 changed files with 56 additions and 75 deletions

View File

@@ -1788,8 +1788,6 @@ AND cmsContentNu.nodeId IS NULL
" and " + ms + " snapshot" + (ms > 1 ? "s" : "") + ".";
}
public override string StatusUrl => "views/dashboard/settings/nucache.html";
public override void Collect()
{
var contentCollect = _contentStore.CollectAsync();

View File

@@ -41,7 +41,7 @@ namespace Umbraco.Web.PublishedCache
public abstract string GetStatus();
public virtual string StatusUrl => string.Empty;
public virtual string StatusUrl => "views/dashboard/settings/publishedsnapshotcache.html";
public virtual void Collect()
{