mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 01:55:21 +02:00
bridges: Remove unnecessary functions getName() and getURI()
This commit is contained in:
parent
9f3e7e1da7
commit
63bb7ef24d
104 changed files with 107 additions and 854 deletions
|
@ -4,8 +4,8 @@ class SiliconBridge extends BridgeAbstract {
|
|||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "ORelio";
|
||||
$this->name = "Silicon.fr";
|
||||
$this->uri = "http://www.silicon.fr/";
|
||||
$this->name = 'Silicon Bridge';
|
||||
$this->uri = 'http://www.silicon.fr/';
|
||||
$this->description = "Returns the newest articles.";
|
||||
$this->update = "2016-08-09";
|
||||
|
||||
|
@ -58,16 +58,7 @@ class SiliconBridge extends BridgeAbstract {
|
|||
}
|
||||
}
|
||||
|
||||
public function getName() {
|
||||
return 'Silicon Bridge';
|
||||
}
|
||||
|
||||
public function getURI() {
|
||||
return 'http://www.silicon.fr/';
|
||||
}
|
||||
|
||||
public function getCacheDuration() {
|
||||
return 1800; // 30 minutes
|
||||
// return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue