mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-26 07:02:08 +01:00
Add device specific timezone settings
This commit is contained in:
parent
5bdf4a4942
commit
b3a1f2de10
@ -178,6 +178,7 @@ class EGW_SyncML_State extends Horde_SyncML_State
|
|||||||
$deviceMaxEntries = 'maxEntries-' . $this->_sourceURI;
|
$deviceMaxEntries = 'maxEntries-' . $this->_sourceURI;
|
||||||
$deviceUIDExtension = 'uidExtension-' . $this->_sourceURI;
|
$deviceUIDExtension = 'uidExtension-' . $this->_sourceURI;
|
||||||
$deviceNonBlockingAllday = 'nonBlockingAllday-' . $this->_sourceURI;
|
$deviceNonBlockingAllday = 'nonBlockingAllday-' . $this->_sourceURI;
|
||||||
|
$deviceTimezone = 'tzid-' . $this->_sourceURI;
|
||||||
$syncml_prefs = $GLOBALS['egw_info']['user']['preferences']['syncml'];
|
$syncml_prefs = $GLOBALS['egw_info']['user']['preferences']['syncml'];
|
||||||
$this->_clientDeviceInfo = array (
|
$this->_clientDeviceInfo = array (
|
||||||
'DTDVersion' => $row['dev_dtdversion'],
|
'DTDVersion' => $row['dev_dtdversion'],
|
||||||
@ -195,6 +196,7 @@ class EGW_SyncML_State extends Horde_SyncML_State
|
|||||||
'maxEntries' => $syncml_prefs[$deviceMaxEntries],
|
'maxEntries' => $syncml_prefs[$deviceMaxEntries],
|
||||||
'uidExtension' => $syncml_prefs[$deviceUIDExtension],
|
'uidExtension' => $syncml_prefs[$deviceUIDExtension],
|
||||||
'nonBlockingAllday' => $syncml_prefs[$deviceNonBlockingAllday],
|
'nonBlockingAllday' => $syncml_prefs[$deviceNonBlockingAllday],
|
||||||
|
'tzid' => $syncml_prefs[$deviceTimezone],
|
||||||
'dataStore' => unserialize($row['dev_datastore']),
|
'dataStore' => unserialize($row['dev_datastore']),
|
||||||
);
|
);
|
||||||
return $this->_clientDeviceInfo;
|
return $this->_clientDeviceInfo;
|
||||||
|
Loading…
Reference in New Issue
Block a user