oembed: revert changes from 48f5bd492d

This commit is contained in:
Fabio Comuni 2012-02-17 15:34:05 +01:00
parent 8ff6cb8406
commit 7bd43613fa

View file

@ -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);