From e45958b967d3b455167191fa91b0c2b6983b6ad5 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Wed, 23 Sep 2015 18:27:04 -0700 Subject: add plugin hooks to channel sync/import/export --- include/zot.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 288493b07..9bddb520d 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3319,6 +3319,8 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) { if(array_key_exists('item_id',$arr) && $arr['item_id']) sync_items($channel,$arr['item_id']); + $addon = array('channel' => $channel,'data' => $arr); + call_hooks('process_channel_sync_delivery',$addon); // we should probably do this for all items, but usually we only send one. -- cgit v1.2.3