forked from extern/egroupware
* InfoLog: expose type as X-INFOLOG-TYPE in iCal export and CalDAV
This commit is contained in:
parent
c180bf6d30
commit
c324fda6ea
@ -228,6 +228,7 @@ class infolog_ical extends infolog_bo
|
|||||||
'RELATED-TO' => $taskData['info_id_parent'],
|
'RELATED-TO' => $taskData['info_id_parent'],
|
||||||
'UID' => $taskData['info_uid'],
|
'UID' => $taskData['info_uid'],
|
||||||
'CATEGORIES' => $taskData['info_cat'],
|
'CATEGORIES' => $taskData['info_cat'],
|
||||||
|
'X-INFOLOG-TYPE' => $taskData['info_type'],
|
||||||
) as $field => $value)
|
) as $field => $value)
|
||||||
{
|
{
|
||||||
if (isset($this->clientProperties[$field]['Size']))
|
if (isset($this->clientProperties[$field]['Size']))
|
||||||
@ -864,6 +865,13 @@ class infolog_ical extends infolog_bo
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'X-INFOLOG-TYPE':
|
||||||
|
if (isset($this->enums['type'][$attribute['value']]))
|
||||||
|
{
|
||||||
|
$taskData['info_type'] = $attribute['value'];
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
// ignore all PROPS, we dont want to store like X-properties or unsupported props
|
// ignore all PROPS, we dont want to store like X-properties or unsupported props
|
||||||
case 'DTSTAMP':
|
case 'DTSTAMP':
|
||||||
case 'SEQUENCE':
|
case 'SEQUENCE':
|
||||||
|
Loading…
Reference in New Issue
Block a user