remove module context check from init method

master
Jean-Christian Paul Denis 2023-04-29 11:01:43 +02:00
parent e49aeb7fdb
commit f5d1c8a216
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 0 additions and 1 deletions

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