no more need to declare settings namespaces
parent
f88eadb761
commit
b0f783df74
|
@ -36,7 +36,6 @@ class Admin
|
||||||
public static function init(): bool
|
public static function init(): bool
|
||||||
{
|
{
|
||||||
if (defined('DC_CONTEXT_ADMIN')) {
|
if (defined('DC_CONTEXT_ADMIN')) {
|
||||||
dcCore::app()->blog->settings->addNamespace(Core::id());
|
|
||||||
self::$init = true;
|
self::$init = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,8 +37,6 @@ class Config
|
||||||
{
|
{
|
||||||
if (defined('DC_CONTEXT_ADMIN')) {
|
if (defined('DC_CONTEXT_ADMIN')) {
|
||||||
dcPage::checkSuper();
|
dcPage::checkSuper();
|
||||||
|
|
||||||
dcCore::app()->blog->settings->addNamespace(Core::id());
|
|
||||||
self::$init = true;
|
self::$init = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue