Merge pull request #1007 from annando/notice-info
[friendica-addons.git/.git] / webrtc / webrtc.php
index c28d84c..f2facf6 100644 (file)
@@ -6,7 +6,6 @@
  * Author: Stephen Mahood <https://friends.mayfirst.org/profile/marxistvegan>
  * Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
  */
-use Friendica\Core\Config;
 use Friendica\Core\Hook;
 use Friendica\Core\Renderer;
 use Friendica\DI;
@@ -35,7 +34,6 @@ function webrtc_addon_admin (&$a, &$o) {
 function webrtc_addon_admin_post (&$a) {
         $url = (!empty($_POST['webrtcurl']) ? Strings::escapeTags(trim($_POST['webrtcurl'])) : '');
            DI::config()->set('webrtc', 'webrtcurl', $url);
-           info(DI::l10n()->t('Settings updated.'). EOL);
 }
 
 function webrtc_module() {