From 3a6dc3fc82d5e4e2fc7987496707e2e2ee804050 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sun, 26 Mar 2023 21:11:48 +0200 Subject: [PATCH] fix static init (missed this one) --- src/Backend.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Backend.php b/src/Backend.php index a4bd220..3a28fbe 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -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; }