fix static init (missed this one)

master
Jean-Christian Paul Denis 2023-03-26 21:11:48 +02:00
parent f95ee36f69
commit 3a6dc3fc82
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 3 additions and 3 deletions

View File

@ -24,14 +24,14 @@ class Backend extends dcNsProcess
{ {
public static function init(): bool 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 public static function process(): bool
{ {
if (!self::$init) { if (!static::$init) {
return false; return false;
} }