mirror of
https://github.com/friendica/friendica
synced 2025-04-22 03:50:11 +00:00
Nodeinfo::getOrganization() doesn't need configuration object being inserted
when you have DI::config() around.
This commit is contained in:
parent
c29c49797a
commit
94eb426151
2 changed files with 10 additions and 6 deletions
|
@ -57,7 +57,7 @@ class NodeInfo210 extends BaseModule
|
|||
'software' => 'friendica',
|
||||
'version' => FRIENDICA_VERSION . '-' . DB_UPDATE_VERSION,
|
||||
],
|
||||
'organization' => Nodeinfo::getOrganization($this->config),
|
||||
'organization' => Nodeinfo::getOrganization(),
|
||||
'protocols' => ['dfrn', 'activitypub'],
|
||||
'services' => [],
|
||||
'openRegistrations' => intval($this->config->get('config', 'register_policy')) !== Register::CLOSED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue