Fix indentation and remove unnecessary lines
This commit is contained in:
parent
5fb27b2aa6
commit
cb7d477310
1 changed files with 32 additions and 36 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue