From 9f06a49d59a07d34214633c6b9c76e044312f415 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Mon, 30 Jan 2023 19:16:36 +0100 Subject: [PATCH] no more need to add settings namespace --- _install.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_install.php b/_install.php index fe226a2..3f7997e 100644 --- a/_install.php +++ b/_install.php @@ -22,9 +22,7 @@ try { return null; } - dcCore::app()->blog->settings->addNamespace(basename(__DIR__)); - - dcCore::app()->blog->settings->__get(basename(__DIR__))->put( + dcCore::app()->blog->settings->get(basename(__DIR__))->put( 'dcAdvancedCleaner_behavior_active', true, 'boolean', @@ -32,7 +30,7 @@ try { false, true ); - dcCore::app()->blog->settings->__get(basename(__DIR__))->put( + dcCore::app()->blog->settings->get(basename(__DIR__))->put( 'dcAdvancedCleaner_dcproperty_hide', true, 'boolean',