]> git.mxchange.org Git - friendica.git/blobdiff - include/oembed.php
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
[friendica.git] / include / oembed.php
index af3413a256ec9e58de79698a8f2a4efa3765a1f4..5c3c595f57e910ba47577746e7afd53d89c8b1e0 100755 (executable)
@@ -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);