aboutsummaryrefslogtreecommitdiffstats
path: root/mod/events.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-29 17:09:14 -0700
committerfriendica <info@friendica.com>2014-05-29 17:09:14 -0700
commita3487efd57b3b13463d3eba1d556e49f4948a6ce (patch)
tree41a0be0746cb8a020c9739fc5378e83562b32cd5 /mod/events.php
parent118b4c88bd1de3408cce650825e818d6a00a6e91 (diff)
downloadvolse-hubzilla-a3487efd57b3b13463d3eba1d556e49f4948a6ce.tar.gz
volse-hubzilla-a3487efd57b3b13463d3eba1d556e49f4948a6ce.tar.bz2
volse-hubzilla-a3487efd57b3b13463d3eba1d556e49f4948a6ce.zip
start to tie in the new event logic
Diffstat (limited to 'mod/events.php')
-rwxr-xr-xmod/events.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/events.php b/mod/events.php
index 8bf8c6ce1..126460e9a 100755
--- a/mod/events.php
+++ b/mod/events.php
@@ -125,9 +125,10 @@ function events_post(&$a) {
$datarray['created'] = $created;
$datarray['edited'] = $edited;
- $item_id = event_store($datarray);
+ $event = event_store_event($datarray);
+ $item_id = event_store_item($datarray,$event);
- if(! $cid)
+ if($share)
proc_run('php',"include/notifier.php","event","$item_id");
}