aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xinclude/oembed.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/oembed.php b/include/oembed.php
index af3413a25..5c3c595f5 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);