Pass the "uid" when calling the "follow" hook
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user