remove module context check from init method

This commit is contained in:
Jean-Christian Denis 2023-04-29 11:01:43 +02:00
parent e49aeb7fdb
commit f5d1c8a216
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -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();