Fix Soundcloud bridge (remove var_dump and reset cache duration)
This commit is contained in:
parent
8edddcd97f
commit
91b1415e3d
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue