From: Fabio Comuni Date: Fri, 17 Feb 2012 14:34:05 +0000 (+0100) Subject: oembed: revert changes from 48f5bd492d X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7bd43613faf2f5930e037311e91e9fb7bc0473ed;p=friendica.git oembed: revert changes from 48f5bd492d --- 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);