diff options
author | fabrixxm <fabrix.xm@gmail.com> | 2012-02-17 06:36:38 -0800 |
---|---|---|
committer | fabrixxm <fabrix.xm@gmail.com> | 2012-02-17 06:36:38 -0800 |
commit | 5bbc2e820b1578f82ff86cdfd6cec7464714c10f (patch) | |
tree | ff20b1d055d40bfd1fa5012f56840a69535d503a | |
parent | 8ff6cb84063d82ccf32a4c6fb65f70da91385c8f (diff) | |
parent | 7bd43613faf2f5930e037311e91e9fb7bc0473ed (diff) | |
download | volse-hubzilla-5bbc2e820b1578f82ff86cdfd6cec7464714c10f.tar.gz volse-hubzilla-5bbc2e820b1578f82ff86cdfd6cec7464714c10f.tar.bz2 volse-hubzilla-5bbc2e820b1578f82ff86cdfd6cec7464714c10f.zip |
Merge pull request #38 from fabrixxm/master
Revert changes to oembed
-rwxr-xr-x | include/oembed.php | 5 |
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); |