aboutsummaryrefslogtreecommitdiffstats
path: root/include/event.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-03 22:01:02 +0200
committerMario <mario@mariovavti.com>2020-04-03 22:01:02 +0200
commitec9418b2626f343614b3307902551ea68307002c (patch)
tree54bf5ca66798ac5147902c5aadf4b2917acc1f1d /include/event.php
parentcec2e92fe381a5e4bb67426290303639dd260358 (diff)
downloadvolse-hubzilla-ec9418b2626f343614b3307902551ea68307002c.tar.gz
volse-hubzilla-ec9418b2626f343614b3307902551ea68307002c.tar.bz2
volse-hubzilla-ec9418b2626f343614b3307902551ea68307002c.zip
Revert "set timezone iconfig a little earlier in the process so that it will be included in the object"
This reverts commit 6cfaa5cba32eb1e7f2b4a0ba6bb281ebd610a54b
Diffstat (limited to 'include/event.php')
-rw-r--r--include/event.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/event.php b/include/event.php
index f455a0dbf..fbc46100f 100644
--- a/include/event.php
+++ b/include/event.php
@@ -1253,8 +1253,6 @@ function event_store_item($arr, $event) {
else
$item_arr['plink'] = z_root() . '/display/' . gen_link_id($item_arr['mid']);
- set_iconfig($item_arr, 'event', 'timezone', $arr['timezone'], true);
-
$x = q("select * from xchan where xchan_hash = '%s' limit 1",
dbesc($arr['event_xchan'])
);
@@ -1290,7 +1288,7 @@ function event_store_item($arr, $event) {
// activities refer to the item message_id as the parent.
set_iconfig($item_arr, 'system','event_id',$event['event_hash'],true);
- //set_iconfig($item_arr, 'event','timezone',$arr['timezone'],true);
+ set_iconfig($item_arr, 'event','timezone',$arr['timezone'],true);
$res = item_store($item_arr);