mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 03:54:04 +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:
@@ -5,10 +5,10 @@ class CADBridge extends BridgeAbstract{
|
||||
$this->name = "CAD Bridge";
|
||||
$this->uri = "http://www.cad-comic.com/";
|
||||
$this->description = "Returns the newest articles.";
|
||||
$this->update = "2016-08-02";
|
||||
$this->update = "2016-08-06";
|
||||
}
|
||||
|
||||
function CADExtractContent($url) {
|
||||
private function CADExtractContent($url) {
|
||||
$html3 = $this->file_get_html($url);
|
||||
|
||||
// The request might fail due to missing https support or wrong URL
|
||||
|
Reference in New Issue
Block a user