aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorHubzilla <hubzilla@hz.macgirvin.com>2017-01-22 18:48:45 -0800
committerHubzilla <hubzilla@hz.macgirvin.com>2017-01-22 18:48:45 -0800
commit17f1d39fcf973ac35f14a36faa2b92867fbb11e9 (patch)
tree43ba2ffbfbeb0b056625aabc4aeb42707747d693 /include/zot.php
parent3bafa05ad1093d70c893d0985788203ccb1e7169 (diff)
downloadvolse-hubzilla-17f1d39fcf973ac35f14a36faa2b92867fbb11e9.tar.gz
volse-hubzilla-17f1d39fcf973ac35f14a36faa2b92867fbb11e9.tar.bz2
volse-hubzilla-17f1d39fcf973ac35f14a36faa2b92867fbb11e9.zip
basic support for clone syncing of wikis and wiki pages
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php
index c6d52816a..06996f47f 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -3174,8 +3174,11 @@ function process_channel_sync_delivery($sender, $arr, $deliveries) {
if(array_key_exists('menu',$arr) && $arr['menu'])
sync_menus($channel,$arr['menu']);
- if(array_key_exists('file',$arr) && $arr['file'])
- sync_files($channel,$arr['file']);
+ if(array_key_exists('menu',$arr) && $arr['menu'])
+ sync_menus($channel,$arr['menu']);
+
+ if(array_key_exists('wiki',$arr) && $arr['wiki'])
+ sync_items($channel,$arr['wiki']);
if(array_key_exists('channel',$arr) && is_array($arr['channel']) && count($arr['channel'])) {