From b0f783df74d9b1ae7a5824f511ef9c12491beaf5 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 3 Jan 2023 23:37:08 +0100 Subject: [PATCH] no more need to declare settings namespaces --- inc/Admin.php | 1 - inc/Config.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/inc/Admin.php b/inc/Admin.php index 7303a9b..e86d5ea 100644 --- a/inc/Admin.php +++ b/inc/Admin.php @@ -36,7 +36,6 @@ class Admin public static function init(): bool { if (defined('DC_CONTEXT_ADMIN')) { - dcCore::app()->blog->settings->addNamespace(Core::id()); self::$init = true; } diff --git a/inc/Config.php b/inc/Config.php index 754fcd2..053a7cc 100644 --- a/inc/Config.php +++ b/inc/Config.php @@ -37,8 +37,6 @@ class Config { if (defined('DC_CONTEXT_ADMIN')) { dcPage::checkSuper(); - - dcCore::app()->blog->settings->addNamespace(Core::id()); self::$init = true; }