]> git.mxchange.org Git - friendica.git/commitdiff
oembed: revert changes from 48f5bd492d
authorFabio Comuni <fabrix.xm@gmail.com>
Fri, 17 Feb 2012 14:34:05 +0000 (15:34 +0100)
committerFabio Comuni <fabrix.xm@gmail.com>
Fri, 17 Feb 2012 14:34:05 +0000 (15:34 +0100)
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);