mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 22:00:23 +02:00
[core + bridges] get rid of loadMetadata
if a bridge needs to modify some of the data that were initialized there, ::__construct() should be used instead. Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -2,13 +2,10 @@
|
||||
|
||||
class LichessBridge extends BridgeAbstract
|
||||
{
|
||||
public function loadMetadatas()
|
||||
{
|
||||
$this->maintainer = 'AmauryCarrade';
|
||||
$this->name = 'Lichess Blog';
|
||||
$this->uri = 'http://lichess.org/blog';
|
||||
$this->description = 'Returns the 5 newest posts from the Lichess blog (full text)';
|
||||
}
|
||||
public $maintainer = 'AmauryCarrade';
|
||||
public $name = 'Lichess Blog';
|
||||
public $uri = 'http://lichess.org/blog';
|
||||
public $description = 'Returns the 5 newest posts from the Lichess blog (full text)';
|
||||
|
||||
public function collectData()
|
||||
{
|
||||
|
Reference in New Issue
Block a user