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

This commit is contained in:
nupplaPhil 2020-01-19 21:21:52 +01:00
parent 1ce63185ab
commit 75143e27b5
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
25 changed files with 75 additions and 75 deletions

View file

@ -120,8 +120,8 @@ function xmpp_addon_admin_post()
$bosh_proxy = (!empty($_POST['bosh_proxy']) ? trim($_POST['bosh_proxy']) : '');
$central_userbase = (!empty($_POST['central_userbase']) ? intval($_POST['central_userbase']) : false);
Config::set('xmpp', 'bosh_proxy', $bosh_proxy);
Config::set('xmpp', 'central_userbase', $central_userbase);
DI::config()->set('xmpp', 'bosh_proxy', $bosh_proxy);
DI::config()->set('xmpp', 'central_userbase', $central_userbase);
info(DI::l10n()->t('Settings updated.') . EOL);
}