no more need to add settings namespace

master
Jean-Christian Paul Denis 2023-01-30 19:16:36 +01:00
parent 02813085c2
commit 9f06a49d59
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 2 additions and 4 deletions

View File

@ -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',