Nodeinfo::getOrganization() doesn't need configuration object being inserted

when you have DI::config() around.
This commit is contained in:
Roland Häder 2022-06-18 17:56:01 +02:00
parent c29c49797a
commit 94eb426151
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
2 changed files with 10 additions and 6 deletions

View file

@ -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,