Commit 6d429a14 authored by Zot's avatar Zot Committed by Mario

diaspora_init_relay: calls diaspora_import_author with too many arguments

parent c950e0cd
......@@ -63,8 +63,7 @@ function diaspora_init_relay() {
if(! get_config('diaspora','relay_handle')) {
if(plugin_is_installed('statistics')) {
$x = ['author' => [ 'address' => 'relay@relay.iliketoast.net', 'network' => 'diaspora' ], 'result' => false ];
$placeholder = 'placeholder';
diaspora_import_author($placeholder, $x);
diaspora_import_author($x);
if($x['result']) {
set_config('diaspora','relay_handle',$x['result']);
// Now register
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment