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{
|
class CommonDreamsBridge extends BridgeAbstract{
|
||||||
|
|
||||||
public function loadMetadatas() {
|
public function loadMetadatas() {
|
||||||
|
|
||||||
$this->maintainer = "nyutag";
|
$this->maintainer = "nyutag";
|
||||||
$this->name = "CommonDreams Bridge";
|
$this->name = "CommonDreams Bridge";
|
||||||
$this->uri = "http://www.commondreams.org/";
|
$this->uri = "http://www.commondreams.org/";
|
||||||
$this->description = "Returns the newest articles.";
|
$this->description = "Returns the newest articles.";
|
||||||
$this->update = "2016-08-02";
|
$this->update = "2016-08-02";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function CommonDreamsExtractContent($url) {
|
function CommonDreamsExtractContent($url) {
|
||||||
|
@ -40,7 +38,6 @@ class CommonDreamsBridge extends BridgeAbstract{
|
||||||
$limit++;
|
$limit++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName(){
|
public function getName(){
|
||||||
|
@ -53,6 +50,5 @@ class CommonDreamsBridge extends BridgeAbstract{
|
||||||
|
|
||||||
public function getCacheDuration(){
|
public function getCacheDuration(){
|
||||||
return 3600; // 1 hours
|
return 3600; // 1 hours
|
||||||
// return 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue