mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
"escapeTags" is removed from the addons
This commit is contained in:
parent
6a7f36ba89
commit
cff3dd67b0
12 changed files with 25 additions and 34 deletions
|
@ -9,7 +9,6 @@
|
|||
use Friendica\Core\Hook;
|
||||
use Friendica\Core\Renderer;
|
||||
use Friendica\DI;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
function webrtc_install() {
|
||||
Hook::register('app_menu', 'addon/webrtc/webrtc.php', 'webrtc_app_menu');
|
||||
|
@ -27,7 +26,7 @@ function webrtc_addon_admin (&$a, &$o) {
|
|||
]);
|
||||
}
|
||||
function webrtc_addon_admin_post (&$a) {
|
||||
$url = (!empty($_POST['webrtcurl']) ? Strings::escapeTags(trim($_POST['webrtcurl'])) : '');
|
||||
$url = (!empty($_POST['webrtcurl']) ? trim($_POST['webrtcurl']) : '');
|
||||
DI::config()->set('webrtc', 'webrtcurl', $url);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue