forked from extern/egroupware
fix wrong timezone in creation time, if configured server-timezone does not match the one from the DB
This commit is contained in:
parent
09f95a8e78
commit
b0d55160a3
@ -125,7 +125,8 @@ class notifications_popup implements notifications_iface {
|
||||
'account_id' => $this->recipient->account_id,
|
||||
'notify_message' => $_message,
|
||||
'notify_type' => self::_type,
|
||||
'notify_data' => is_array($_data) ? json_encode($_data) : NULL
|
||||
'notify_data' => is_array($_data) ? json_encode($_data) : NULL,
|
||||
'notify_created' => Api\DateTime::user2server('now'),
|
||||
), false,__LINE__,__FILE__,self::_appname);
|
||||
if ($result === false) throw new Exception("Can't save notification into SQL table");
|
||||
$push = new Api\Json\Push($this->recipient->account_id);
|
||||
|
Loading…
Reference in New Issue
Block a user