no more need to add settings namespace

This commit is contained in:
Jean-Christian Denis 2023-01-30 19:16:36 +01:00
parent 02813085c2
commit 9f06a49d59
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -22,9 +22,7 @@ try {
return null; 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', 'dcAdvancedCleaner_behavior_active',
true, true,
'boolean', 'boolean',
@ -32,7 +30,7 @@ try {
false, false,
true true
); );
dcCore::app()->blog->settings->__get(basename(__DIR__))->put( dcCore::app()->blog->settings->get(basename(__DIR__))->put(
'dcAdvancedCleaner_dcproperty_hide', 'dcAdvancedCleaner_dcproperty_hide',
true, true,
'boolean', 'boolean',