diff options
author | friendica <info@friendica.com> | 2014-05-29 17:09:14 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-05-29 17:09:14 -0700 |
commit | a3487efd57b3b13463d3eba1d556e49f4948a6ce (patch) | |
tree | 41a0be0746cb8a020c9739fc5378e83562b32cd5 /mod/events.php | |
parent | 118b4c88bd1de3408cce650825e818d6a00a6e91 (diff) | |
download | volse-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-x | mod/events.php | 5 |
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"); } |