mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-24 00:53:10 +02:00
bridges: Remove unused functions and update scopes
Many bridges implemented getDescription() which is only applicable for bridges extending RSSExpander. Functions that are not part of the abstract class or interface should be in private scope for better readability.
This commit is contained in:
@@ -9,7 +9,7 @@ class GiphyBridge extends BridgeAbstract{
|
||||
$this->name = "Giphy Bridge";
|
||||
$this->uri = "http://giphy.com/";
|
||||
$this->description = "Bridge for giphy.com";
|
||||
$this->update = "2014-12-05";
|
||||
$this->update = "2016-08-06";
|
||||
|
||||
$this->parameters["By tag"] =
|
||||
'[
|
||||
@@ -92,8 +92,4 @@ class GiphyBridge extends BridgeAbstract{
|
||||
public function getCacheDuration(){
|
||||
return 300; // 5 minutes
|
||||
}
|
||||
|
||||
public function getUsername(){
|
||||
return $this->items[0]->username;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user