remove module context check from init method
This commit is contained in:
parent
e49aeb7fdb
commit
f5d1c8a216
1 changed files with 0 additions and 1 deletions
|
@ -35,7 +35,6 @@ class Config extends dcNsProcess
|
||||||
{
|
{
|
||||||
static::$init = My::phpCompliant()
|
static::$init = My::phpCompliant()
|
||||||
&& defined('DC_CONTEXT_ADMIN')
|
&& defined('DC_CONTEXT_ADMIN')
|
||||||
&& defined('DC_CONTEXT_MODULE')
|
|
||||||
&& !is_null(dcCore::app()->auth)
|
&& !is_null(dcCore::app()->auth)
|
||||||
&& dcCore::app()->auth->isSuperAdmin();
|
&& dcCore::app()->auth->isSuperAdmin();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue