mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-20 15:22:17 +02:00
[bridges] use constants instead of variable members
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
class Releases3DSBridge extends BridgeAbstract {
|
||||
|
||||
public $maintainer = "ORelio";
|
||||
public $name = "3DS Scene Releases";
|
||||
public $uri = "http://www.3dsdb.com/";
|
||||
public $description = "Returns the newest scene releases.";
|
||||
const MAINTAINER = "ORelio";
|
||||
const NAME = "3DS Scene Releases";
|
||||
const URI = "http://www.3dsdb.com/";
|
||||
const DESCRIPTION = "Returns the newest scene releases.";
|
||||
|
||||
public function collectData(){
|
||||
|
||||
@@ -32,7 +32,7 @@ class Releases3DSBridge extends BridgeAbstract {
|
||||
}
|
||||
}
|
||||
|
||||
$dataUrl = $this->uri.'xml.php';
|
||||
$dataUrl = self::URI.'xml.php';
|
||||
$xml = $this->getContents($dataUrl) or $this->returnServerError('Could not request 3dsdb: '.$dataUrl);
|
||||
$limit = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user