diff options
author | git-marijus <mario@mariovavti.com> | 2017-05-12 10:02:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 10:02:12 +0200 |
commit | ae89f1b3b37037bb07aa1ea8b8a9d8836cc685dd (patch) | |
tree | ed76127c53c675236aee1454145792c37f2da5ea | |
parent | f34b060e23baf02b1dc7865f4b5d964aae391f9b (diff) | |
parent | c2bd7d1e567382a72ed058ddd41a3b5fd70988f4 (diff) | |
download | volse-hubzilla-ae89f1b3b37037bb07aa1ea8b8a9d8836cc685dd.tar.gz volse-hubzilla-ae89f1b3b37037bb07aa1ea8b8a9d8836cc685dd.tar.bz2 volse-hubzilla-ae89f1b3b37037bb07aa1ea8b8a9d8836cc685dd.zip |
Merge pull request #771 from zotlabs/filesync
issue #769
-rw-r--r-- | include/zot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/zot.php b/include/zot.php index a168dff1b..748fe7b99 100644 --- a/include/zot.php +++ b/include/zot.php @@ -3160,8 +3160,8 @@ 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('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('wiki',$arr) && $arr['wiki']) sync_items($channel,$arr['wiki'],((array_key_exists('relocate',$arr)) ? $arr['relocate'] : null)); |