mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-09 10:06:33 +02:00
bridges: Remove unnecessary functions getName() and getURI()
This commit is contained in:
@@ -17,7 +17,7 @@ class GoogleSearchBridge extends BridgeAbstract{
|
||||
$this->name = "Google search";
|
||||
$this->uri = "https://www.google.com/";
|
||||
$this->description = "Returns most recent results from Google search.";
|
||||
$this->update = "2014-05-25";
|
||||
$this->update = "2016-08-09";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
@@ -62,10 +62,6 @@ class GoogleSearchBridge extends BridgeAbstract{
|
||||
return (!empty($this->request) ? $this->request .' - ' : '') .'Google search';
|
||||
}
|
||||
|
||||
public function getURI(){
|
||||
return 'http://google.com';
|
||||
}
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 1800; // 30 minutes
|
||||
}
|
||||
|
Reference in New Issue
Block a user