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

This commit is contained in:
nupplaPhil 2020-01-18 16:54:50 +01:00
parent 9e9429b56d
commit 88bb66371c
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
17 changed files with 68 additions and 82 deletions

View file

@ -129,7 +129,7 @@ The selected 1st part will be saved in the database by the theme_post function.
// if the one specific submit button was pressed then proceed
if (isset($_POST['duepuntozero-settings-submit'])){
// and save the selection key into the personal config of the user
PConfig::set(local_user(), 'duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
DI::pConfig()->set(local_user(), 'duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
}
}