aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-16 00:59:43 -0800
committerfriendica <info@friendica.com>2013-01-16 00:59:43 -0800
commita9f4a47a35eecad03c9c0da58a3febc99fd87453 (patch)
tree603afbbde45be1e32398a6d458b73144858057f8 /include/event.php
parentddd8a0e062964cc18a7ef54828019ee28e63175b (diff)
downloadvolse-hubzilla-a9f4a47a35eecad03c9c0da58a3febc99fd87453.tar.gz
volse-hubzilla-a9f4a47a35eecad03c9c0da58a3febc99fd87453.tar.bz2
volse-hubzilla-a9f4a47a35eecad03c9c0da58a3febc99fd87453.zip
import events (not just event posts) from zot
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/event.php b/include/event.php
index 88efe2517..e5a62ceec 100644
--- a/include/event.php
+++ b/include/event.php
@@ -209,10 +209,7 @@ function event_store($arr) {
$arr['edited'] = (($arr['edited']) ? $arr['edited'] : datetime_convert());
$arr['type'] = (($arr['type']) ? $arr['type'] : 'event' );
$arr['event_xchan'] = (($arr['event_xchan']) ? $arr['event_xchan'] : '');
- $arr['message_id'] = (x($arr,'message_id') ? $arr['message_id'] : item_message_id());
- $arr['private'] = ((x($arr,'private')) ? intval($arr['private']) : 0);
-
-
+
// Existing event being modified
if($arr['id']) {