mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02: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
|
@ -34,7 +34,7 @@ function webrtc_addon_admin (&$a, &$o) {
|
|||
}
|
||||
function webrtc_addon_admin_post (&$a) {
|
||||
$url = (!empty($_POST['webrtcurl']) ? Strings::escapeTags(trim($_POST['webrtcurl'])) : '');
|
||||
Config::set('webrtc', 'webrtcurl', $url);
|
||||
DI::config()->set('webrtc', 'webrtcurl', $url);
|
||||
info(DI::l10n()->t('Settings updated.'). EOL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue