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

This commit is contained in:
Philipp Holzer 2020-01-18 16:54:50 +01:00
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

@ -29,7 +29,7 @@ function theme_post(App $a)
}
if (isset($_POST['duepuntozero-settings-submit'])) {
PConfig::set(local_user(), 'duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
DI::pConfig()->set(local_user(), 'duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
}
}