mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
[bridges] use constants instead of variable members
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
556b8a2452
commit
9a0da733ef
129 changed files with 834 additions and 834 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue