Fix indentation and remove unnecessary lines

This commit is contained in:
logmanoriginal 2016-08-02 14:43:59 +02:00
parent 5fb27b2aa6
commit cb7d477310
1 changed files with 32 additions and 36 deletions

View File

@ -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;
}
}