mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-11 02:54:10 +02:00
bridges: Remove unnecessary functions getName() and getURI()
This commit is contained in:
@@ -7,7 +7,7 @@ class NasaApodBridge extends BridgeAbstract{
|
||||
$this->name = "NASA APOD Bridge";
|
||||
$this->uri = "http://apod.nasa.gov/apod/astropix.html";
|
||||
$this->description = "Returns the 3 latest NASA APOD pictures and explanations";
|
||||
$this->update = "2014-08-27";
|
||||
$this->update = "2016-08-09";
|
||||
|
||||
}
|
||||
|
||||
@@ -45,14 +45,6 @@ class NasaApodBridge extends BridgeAbstract{
|
||||
}
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
return 'NASA APOD';
|
||||
}
|
||||
|
||||
public function getURI(){
|
||||
return 'http://apod.nasa.gov/apod/astropix.html';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600*12; // 12 hours
|
||||
}
|
||||
|
Reference in New Issue
Block a user