]> git.mxchange.org Git - friendica-addons.git/blobdiff - xmpp/xmpp.php
Add missing Friendica\DI namespace to files (PHPStorm inspection)
[friendica-addons.git] / xmpp / xmpp.php
index e35ac91323d1927e5ee91b25f7a2026fa03f52f3..c7bf5f7bf91a18abe562c9c364db3df38936b55a 100644 (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);
 }