Merge pull request #38 from fabrixxm/master

Revert changes to oembed
This commit is contained in:
fabrixxm 2012-02-17 06:36:38 -08:00
commit 5bbc2e820b

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