Merge pull request #13177 from annando/follow-uid
Pass the "uid" when calling the "follow" hook
This commit is contained in:
commit
d971a2cc5c
1 changed files with 1 additions and 1 deletions
|
@ -2962,7 +2962,7 @@ class Contact
|
|||
return $result;
|
||||
}
|
||||
|
||||
$arr = ['url' => $url, 'contact' => []];
|
||||
$arr = ['url' => $url, 'uid' => $uid, 'contact' => []];
|
||||
|
||||
Hook::callAll('follow', $arr);
|
||||
|
||||
|
|
Loading…
Reference in a new issue