Fix Friendica node info json

And stop worker sending warning from PortableContacts.php
This commit is contained in:
fabrixxm 2018-11-06 10:07:22 +01:00 committed by GitHub
parent e8891e9ba4
commit 56484eaaeb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ function friendica_init(App $a)
'locked_features' => $locked_features, 'locked_features' => $locked_features,
'explicit_content' => (int)Config::get('system', 'explicit_content', false), 'explicit_content' => (int)Config::get('system', 'explicit_content', false),
'language' => Config::get('system','language'), 'language' => Config::get('system','language'),
'register_policy ' => $register_policy[intval(Config::get('config', 'register_policy'))], 'register_policy' => $register_policy[intval(Config::get('config', 'register_policy'))],
'admin' => $admin, 'admin' => $admin,
'site_name' => Config::get('config', 'sitename'), 'site_name' => Config::get('config', 'sitename'),
'platform' => FRIENDICA_PLATFORM, 'platform' => FRIENDICA_PLATFORM,