Fix Soundcloud bridge (remove var_dump and reset cache duration)

This commit is contained in:
Damien Calesse 2015-09-09 00:15:01 +02:00
parent 8edddcd97f
commit 91b1415e3d

View file

@ -39,7 +39,6 @@ class SoundCloudBridge extends BridgeAbstract{
$item->id = 'https://soundcloud.com/'. urlencode($this->request) .'/'. urlencode($tracks[$i]->permalink); $item->id = 'https://soundcloud.com/'. urlencode($this->request) .'/'. urlencode($tracks[$i]->permalink);
$item->uri = 'https://soundcloud.com/'. urlencode($this->request) .'/'. urlencode($tracks[$i]->permalink); $item->uri = 'https://soundcloud.com/'. urlencode($this->request) .'/'. urlencode($tracks[$i]->permalink);
$this->items[] = $item; $this->items[] = $item;
var_dump($item);
} }
} }
@ -52,6 +51,6 @@ class SoundCloudBridge extends BridgeAbstract{
} }
public function getCacheDuration(){ public function getCacheDuration(){
return 0; // 10 minutes return 60; // 10 minutes
} }
} }