Function renamed

update function calls
This commit is contained in:
Adam Magness 2018-11-09 13:32:45 -05:00
parent 1ac32c622e
commit 4a667f640f
16 changed files with 29 additions and 29 deletions

View file

@ -33,7 +33,7 @@ function webrtc_addon_admin (&$a, &$o) {
]);
}
function webrtc_addon_admin_post (&$a) {
$url = ((x($_POST, 'webrtcurl')) ? Strings::removeTags(trim($_POST['webrtcurl'])) : '');
$url = ((x($_POST, 'webrtcurl')) ? Strings::escapeTags(trim($_POST['webrtcurl'])) : '');
Config::set('webrtc', 'webrtcurl', $url);
info(L10n::t('Settings updated.'). EOL);
}