aboutsummaryrefslogtreecommitdiffstats
path: root/include/oembed.php
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-02-17 15:34:05 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-02-17 15:34:05 +0100
commit7bd43613faf2f5930e037311e91e9fb7bc0473ed (patch)
treeff20b1d055d40bfd1fa5012f56840a69535d503a /include/oembed.php
parent8ff6cb84063d82ccf32a4c6fb65f70da91385c8f (diff)
downloadvolse-hubzilla-7bd43613faf2f5930e037311e91e9fb7bc0473ed.tar.gz
volse-hubzilla-7bd43613faf2f5930e037311e91e9fb7bc0473ed.tar.bz2
volse-hubzilla-7bd43613faf2f5930e037311e91e9fb7bc0473ed.zip
oembed: revert changes from 48f5bd492d
Diffstat (limited to 'include/oembed.php')
-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);