modify #4099 - fix localization and use Delete rather than Clear in API methods for consistency with rest of framework
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user