X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Foembed.php;h=5c3c595f57e910ba47577746e7afd53d89c8b1e0;hb=d647dbc6af33689d0baf4bafd72031d06dcf7577;hp=af3413a256ec9e58de79698a8f2a4efa3765a1f4;hpb=48f5bd492de7acb021b9065beb2586391efb3c9e;p=friendica.git diff --git a/include/oembed.php b/include/oembed.php index af3413a256..5c3c595f57 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -11,11 +11,6 @@ function oembed_replacecb($matches){ function oembed_fetch_url($embedurl){ - - if(! strpos('://',$embedurl)) { - // this may be wrong but it's already wrong, we can only guess - $embedurl = 'http://' . $embedurl; - } $txt = Cache::get($embedurl);