mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-28 12:20:12 +02:00
Fix indentation and remove unnecessary lines
This commit is contained in:
@@ -2,13 +2,11 @@
|
||||
class CommonDreamsBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "nyutag";
|
||||
$this->name = "CommonDreams Bridge";
|
||||
$this->uri = "http://www.commondreams.org/";
|
||||
$this->description = "Returns the newest articles.";
|
||||
$this->update = "2016-08-02";
|
||||
|
||||
}
|
||||
|
||||
function CommonDreamsExtractContent($url) {
|
||||
@@ -40,7 +38,6 @@ class CommonDreamsBridge extends BridgeAbstract{
|
||||
$limit++;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
@@ -53,6 +50,5 @@ class CommonDreamsBridge extends BridgeAbstract{
|
||||
|
||||
public function getCacheDuration(){
|
||||
return 3600; // 1 hours
|
||||
// return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user