1
0
Fork 0

Move Config::set() to DI::config()->set()

This commit is contained in:
Philipp Holzer 2020-01-19 21:21:53 +01:00
commit 3411ced833
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
29 changed files with 213 additions and 229 deletions

View file

@ -42,7 +42,7 @@ function theme_admin(App $a)
function theme_admin_post(App $a)
{
if (isset($_POST['duepuntozero-settings-submit'])) {
Config::set('duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
DI::config()->set('duepuntozero', 'colorset', $_POST['duepuntozero_colorset']);
}
}