From f5d1c8a2162797ddc56365d1d3d3cfd2c46f3bb2 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Sat, 29 Apr 2023 11:01:43 +0200 Subject: [PATCH] remove module context check from init method --- src/Config.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Config.php b/src/Config.php index af62ea3..3dc4d22 100644 --- a/src/Config.php +++ b/src/Config.php @@ -35,7 +35,6 @@ class Config extends dcNsProcess { static::$init = My::phpCompliant() && defined('DC_CONTEXT_ADMIN') - && defined('DC_CONTEXT_MODULE') && !is_null(dcCore::app()->auth) && dcCore::app()->auth->isSuperAdmin();