From 77094f8d2bffa70c9e95518b9883f8752304102c Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 19 Mar 2016 16:17:19 -0700 Subject: make the admin side menu extensible and provide a hook for a channel "move" operation that federation plugins might use to re-establish connections after a channel move. --- include/zot.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index cff9e1810..d8cae3954 100644 --- a/include/zot.php +++ b/include/zot.php @@ -2278,6 +2278,12 @@ function check_location_move($sender_hash,$locations) { dbesc($sender_hash) ); + // federation plugins may wish to notify connections + // of the move on singleton networks + + $arr = array('channel' => $r[0],'locations' => $locations); + call_hooks('location_move',$arr); + } } -- cgit v1.2.3