mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +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:
parent
f99f4d23ac
commit
1d53b70272
34 changed files with 87 additions and 145 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue