aboutsummaryrefslogtreecommitdiffstats
path: root/mod/import.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-07 21:01:49 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-07 21:01:49 -0700
commit650e98b2a9aff2f54be84782ac48cc57badbf76f (patch)
tree4992bd3083726c5bc8f570a250321f7ccbf573de /mod/import.php
parent508969a183669b0f1f9cf60b06a68d5b51b501d1 (diff)
downloadvolse-hubzilla-650e98b2a9aff2f54be84782ac48cc57badbf76f.tar.gz
volse-hubzilla-650e98b2a9aff2f54be84782ac48cc57badbf76f.tar.bz2
volse-hubzilla-650e98b2a9aff2f54be84782ac48cc57badbf76f.zip
work on event sync
Diffstat (limited to 'mod/import.php')
-rw-r--r--mod/import.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/mod/import.php b/mod/import.php
index 13d684f6e..27c2094c3 100644
--- a/mod/import.php
+++ b/mod/import.php
@@ -438,6 +438,13 @@ function import_post(&$a) {
if(is_array($data['chatroom']))
import_chatrooms($channel,$data['chatroom']);
+ if(is_array($data['event']))
+ import_events($channel,$data['event']);
+
+ if(is_array($data['event_item']))
+ import_items($channel,$data['event_item']);
+
+
$saved_notification_flags = notifications_off($channel['channel_id']);
if($import_posts && array_key_exists('item',$data) && $data['item'])