diff --git a/phpgwapi/inc/horde/Horde/iCalendar/vevent.php b/phpgwapi/inc/horde/Horde/iCalendar/vevent.php index 3dd520ca62..093ad0ecf2 100644 --- a/phpgwapi/inc/horde/Horde/iCalendar/vevent.php +++ b/phpgwapi/inc/horde/Horde/iCalendar/vevent.php @@ -25,9 +25,11 @@ class Horde_iCalendar_vevent extends Horde_iCalendar { // Default values. $requiredAttributes = array(); $requiredAttributes['DTSTAMP'] = time(); + /* This is handled by the upper layers. $requiredAttributes['UID'] = $this->_exportDateTime(time()) . substr(str_pad(base_convert(microtime(), 10, 36), 16, uniqid(mt_rand()), STR_PAD_LEFT), -16) . '@' . (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'localhost'); + */ $method = !empty($this->_container) ? $this->_container->getAttribute('METHOD') : 'PUBLISH';