fix backend only

This commit is contained in:
Jean-Christian Paul Denis 2023-04-20 15:56:30 +02:00
parent fc869207a6
commit fa53d53657
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -22,7 +22,7 @@ class Uninstall extends dcNsProcess
{
public static function init(): bool
{
static::$init = defined('DC_RC_PATH');
static::$init = defined('DC_CONTEXT_ADMIN');
return static::$init;
}