no more need to add settings namespace

This commit is contained in:
Jean-Christian Paul 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;
}
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',