From 7bd43613faf2f5930e037311e91e9fb7bc0473ed Mon Sep 17 00:00:00 2001 From: Fabio Comuni Date: Fri, 17 Feb 2012 15:34:05 +0100 Subject: [PATCH] oembed: revert changes from 48f5bd492d --- include/oembed.php | 5 ----- 1 file changed, 5 deletions(-) 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);