mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Some removed notices
This commit is contained in:
parent
2db9b497bd
commit
19abd1a17e
2 changed files with 4 additions and 4 deletions
|
@ -34,9 +34,9 @@ function xmpp_addon_settings_post()
|
|||
return;
|
||||
}
|
||||
|
||||
PConfig::set(local_user(), 'xmpp', 'enabled', intval($_POST['xmpp_enabled']));
|
||||
PConfig::set(local_user(), 'xmpp', 'individual', intval($_POST['xmpp_individual']));
|
||||
PConfig::set(local_user(), 'xmpp', 'bosh_proxy', $_POST['xmpp_bosh_proxy']);
|
||||
PConfig::set(local_user(), 'xmpp', 'enabled', defaults($_POST, 'xmpp_enabled', false));
|
||||
PConfig::set(local_user(), 'xmpp', 'individual', defaults($_POST, 'xmpp_individual', false));
|
||||
PConfig::set(local_user(), 'xmpp', 'bosh_proxy', defaults($_POST, 'xmpp_bosh_proxy', ''));
|
||||
|
||||
info(L10n::t('XMPP settings updated.') . EOL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue