mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
Fix date_default_timezone_set issue within SIF-E class
This commit is contained in:
parent
ed9214bf1a
commit
a13ffff62e
@ -214,7 +214,6 @@ class calendar_sif extends calendar_boupdate
|
||||
error_log(sprintf("XML error: %s at line %d",
|
||||
xml_error_string(xml_get_error_code($this->xml_parser)),
|
||||
xml_get_current_line_number($this->xml_parser)));
|
||||
date_default_timezone_set($GLOBALS['egw_info']['server']['server_timezone']);
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -355,8 +354,6 @@ class calendar_sif extends calendar_boupdate
|
||||
|
||||
if ($this->calendarOwner) $finalEvent['owner'] = $this->calendarOwner;
|
||||
|
||||
date_default_timezone_set($GLOBALS['egw_info']['server']['server_timezone']);
|
||||
|
||||
if ($_calID > 0) $finalEvent['id'] = $_calID;
|
||||
|
||||
if ($this->log)
|
||||
@ -1016,6 +1013,7 @@ class calendar_sif extends calendar_boupdate
|
||||
case 'G':
|
||||
case 'P':
|
||||
case 0:
|
||||
case -1:
|
||||
$owner = $this->user;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user