1
0
Fork 0

Merge pull request #13177 from annando/follow-uid

Pass the "uid" when calling the "follow" hook
This commit is contained in:
Philipp 2023-05-30 08:36:58 +02:00 committed by GitHub
commit d971a2cc5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2962,7 +2962,7 @@ class Contact
return $result; return $result;
} }
$arr = ['url' => $url, 'contact' => []]; $arr = ['url' => $url, 'uid' => $uid, 'contact' => []];
Hook::callAll('follow', $arr); Hook::callAll('follow', $arr);