mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 03:24:01 +02:00
bridges: Remove getCacheDuration if default
BridgeAbstract will return 3600 seconds by default, so the function can be removed from any bridge implementing getCacheDuration returning the same value. Documentation updated accordingly.
This commit is contained in:
@@ -7,7 +7,7 @@ class EZTVBridge extends BridgeAbstract{
|
||||
$this->name = "EZTV";
|
||||
$this->uri = "https://eztv.ch/";
|
||||
$this->description = "Returns list of *recent* torrents for a specific show on EZTV. Get showID from URLs in https://eztv.ch/shows/showID/show-full-name.";
|
||||
$this->update = "2014-01-20";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
@@ -80,8 +80,4 @@ class EZTVBridge extends BridgeAbstract{
|
||||
public function getURI(){
|
||||
return 'https://eztv.ch/';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600; // 1 hour
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user