Unset object properties which are mapped into other fields; define available alarm types
This commit is contained in:
parent
8c99dac9ef
commit
95e4b5e270
1 changed files with 3 additions and 2 deletions
|
@ -28,6 +28,7 @@ class tasklist_kolab_driver extends tasklist_driver
|
|||
public $alarms = false;
|
||||
public $attachments = true;
|
||||
public $undelete = false; // task undelete action
|
||||
public $alarm_types = array('DISPLAY');
|
||||
|
||||
private $rc;
|
||||
private $plugin;
|
||||
|
@ -437,10 +438,10 @@ class tasklist_kolab_driver extends tasklist_driver
|
|||
}
|
||||
}
|
||||
|
||||
unset($task['attachments']);
|
||||
unset($object['attachments']);
|
||||
}
|
||||
|
||||
unset($object['tempid'], $object['raw']);
|
||||
unset($object['tempid'], $object['raw'], $object['list'], $object['flagged'], $object['tags']);
|
||||
return $object;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue