fix static init (missed this one)

This commit is contained in:
Jean-Christian Paul Denis 2023-03-26 21:11:48 +02:00
parent f95ee36f69
commit 3a6dc3fc82
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -24,14 +24,14 @@ class Backend extends dcNsProcess
{
public static function init(): bool
{
self::$init = defined('DC_CONTEXT_ADMIN');
static::$init = defined('DC_CONTEXT_ADMIN');
return self::$init;
return static::$init;
}
public static function process(): bool
{
if (!self::$init) {
if (!static::$init) {
return false;
}