mirror of
https://github.com/friendica/friendica
synced 2025-05-16 19:44:12 +02:00
Get rid of App->user completely
This commit is contained in:
parent
fc283ab928
commit
28090bd793
39 changed files with 158 additions and 234 deletions
|
@ -164,7 +164,7 @@ HELP;
|
|||
$network = CliPrompt::prompt();
|
||||
}
|
||||
|
||||
$result = ContactModel::createFromProbe($user, $url, false, $network);
|
||||
$result = ContactModel::createFromProbe($user['uid'], $url, $network);
|
||||
|
||||
if ($result['success']) {
|
||||
$this->out('User ' . $user['nickname'] . ' now connected to ' . $url . ', contact ID ' . $result['cid']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue