aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libsync.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-02-24 10:02:09 +0100
committerMario <mario@mariovavti.com>2020-02-24 10:02:09 +0100
commit989fbe70cd566da4c5757527aa77022036af6274 (patch)
tree3f2f031445c4f5cf1e97d548a9df335a12a98c5b /Zotlabs/Lib/Libsync.php
parent7bb94f999350dfdc2c2cdf5b5d094ef52953edd6 (diff)
downloadvolse-hubzilla-989fbe70cd566da4c5757527aa77022036af6274.tar.gz
volse-hubzilla-989fbe70cd566da4c5757527aa77022036af6274.tar.bz2
volse-hubzilla-989fbe70cd566da4c5757527aa77022036af6274.zip
Implement DAV calendars sync with clones
Diffstat (limited to 'Zotlabs/Lib/Libsync.php')
-rw-r--r--Zotlabs/Lib/Libsync.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libsync.php b/Zotlabs/Lib/Libsync.php
index d1756cf47..c39720735 100644
--- a/Zotlabs/Lib/Libsync.php
+++ b/Zotlabs/Lib/Libsync.php
@@ -246,7 +246,10 @@ class Libsync {
sync_apps($channel,$arr['app']);
if(array_key_exists('addressbook',$arr) && $arr['addressbook'])
- sync_addressbook($channel,$arr['addressbook']);
+ sync_addressbook($channel,$arr['addressbook']);
+
+ if(array_key_exists('calendar',$arr) && $arr['calendar'])
+ sync_calendar($channel,$arr['calendar']);
if(array_key_exists('chatroom',$arr) && $arr['chatroom'])
sync_chatrooms($channel,$arr['chatroom']);