Get rid of App->user completely
This commit is contained in:
parent
fc283ab928
commit
28090bd793
39 changed files with 158 additions and 234 deletions
|
|
@ -175,7 +175,7 @@ function follow_process(App $a, string $url)
|
|||
{
|
||||
$return_path = 'follow?url=' . urlencode($url);
|
||||
|
||||
$result = Contact::createFromProbe($a->user, $url, true);
|
||||
$result = Contact::createFromProbe($a->getUserId(), $url);
|
||||
|
||||
if ($result['success'] == false) {
|
||||
// Possibly it is a remote item and not an account
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue