mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
Move Config::set() to DI::config()->set()
This commit is contained in:
parent
1ce63185ab
commit
75143e27b5
25 changed files with 75 additions and 75 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue