modify #4099 - fix localization and use Delete rather than Clear in API methods for consistency with rest of framework

This commit is contained in:
sbwalker
2024-04-04 11:58:05 -04:00
parent 160b3ff655
commit 7b95db4d13
7 changed files with 20 additions and 32 deletions

View File

@ -83,7 +83,7 @@ namespace Oqtane.Controllers
{
if (int.TryParse(siteId, out int parsedSiteId) && parsedSiteId == _alias.SiteId)
{
_logs.ClearLogs(parsedSiteId);
_logs.DeleteLogs(parsedSiteId, 0); // specifying zero for age results in all logs being deleted
}
else
{