mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Apply suggestions from code review
Co-authored-by: Philipp <admin+Github@philipp.info>
This commit is contained in:
parent
cff3dd67b0
commit
8fea67dade
11 changed files with 29 additions and 29 deletions
|
@ -26,7 +26,7 @@ function webrtc_addon_admin (&$a, &$o) {
|
|||
]);
|
||||
}
|
||||
function webrtc_addon_admin_post (&$a) {
|
||||
$url = (!empty($_POST['webrtcurl']) ? trim($_POST['webrtcurl']) : '');
|
||||
$url = trim($_POST['webrtcurl'] ?? '');
|
||||
DI::config()->set('webrtc', 'webrtcurl', $url);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue