Move PConfig::set() to DI::pConfig()->set()

This commit is contained in:
nupplaPhil
2020-01-18 16:54:49 +01:00
parent ea3a9052d8
commit febc835a2d
42 changed files with 185 additions and 185 deletions

View File

@@ -35,8 +35,8 @@ function fromapp_settings_post($a, $post)
return;
}
PConfig::set(local_user(), 'fromapp', 'app', $_POST['fromapp-input']);
PConfig::set(local_user(), 'fromapp', 'force', intval($_POST['fromapp-force']));
DI::pConfig()->set(local_user(), 'fromapp', 'app', $_POST['fromapp-input']);
DI::pConfig()->set(local_user(), 'fromapp', 'force', intval($_POST['fromapp-force']));
info(L10n::t('Fromapp settings updated.') . EOL);
}