aboutsummaryrefslogtreecommitdiffstats
path: root/include/follow.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/follow.php')
-rw-r--r--include/follow.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/follow.php b/include/follow.php
index 5cf161304..845ce11da 100644
--- a/include/follow.php
+++ b/include/follow.php
@@ -175,6 +175,10 @@ function new_contact($uid,$url,$channel,$interactive = false, $confirm = false)
proc_run('php', 'include/notifier.php', 'permission_update', $result['abook']['abook_id']);
}
+ $arr = array('channel_id' => $uid, 'abook' => $result['abook']);
+
+ call_hooks('follow', $arr);
+
/** If there is a default group for this channel, add this member to it */
if($default_group) {