diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index 8f5e7f2166..21ff4c4c6d 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -66,6 +66,11 @@ class calendar_bo */ var $debug=false; + /** + * @var int $now servertime + */ + var $now; + /** * @var int $now_su timestamp of actual user-time */ @@ -189,6 +194,7 @@ class calendar_bo $this->common_prefs =& $GLOBALS['egw_info']['user']['preferences']['common']; $this->cal_prefs =& $GLOBALS['egw_info']['user']['preferences']['calendar']; + $this->now = time(); $this->now_su = egw_time::to('now','ts'); $this->user = $GLOBALS['egw_info']['user']['account_id'];