fixes to emable module package installation from wwwroot/modules

This commit is contained in:
Shaun Walker
2020-04-11 14:02:42 -04:00
parent 93a09f6db8
commit dbcb973119
4 changed files with 41 additions and 28 deletions

View File

@ -107,17 +107,9 @@ namespace Oqtane.Infrastructure
}
}
if (install)
if (install && restart)
{
if (restart)
{
RestartApplication();
}
else
{
_cache.Remove("moduledefinitions");
_cache.Remove("jobs");
}
RestartApplication();
}
}