aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-19 16:17:19 -0700
committerredmatrix <git@macgirvin.com>2016-03-19 16:17:19 -0700
commit77094f8d2bffa70c9e95518b9883f8752304102c (patch)
treeb05a4693bae8bc99ef503ba438274b24ee0eca6f /include/zot.php
parent51cd4e8519ef97f348013320e612811f9da1ad0e (diff)
downloadvolse-hubzilla-77094f8d2bffa70c9e95518b9883f8752304102c.tar.gz
volse-hubzilla-77094f8d2bffa70c9e95518b9883f8752304102c.tar.bz2
volse-hubzilla-77094f8d2bffa70c9e95518b9883f8752304102c.zip
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.
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php6
1 files changed, 6 insertions, 0 deletions
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);
+
}
}