Fix CalDAV PUT issue

This commit is contained in:
Jörg Lehrke 2010-08-08 21:48:26 +00:00
parent f0edcf06da
commit 1198c44821
2 changed files with 2 additions and 2 deletions

View File

@ -476,8 +476,6 @@ error_log(__METHOD__."($path,,".array2string($start).") filter=".array2string($f
{
if ($this->debug) error_log(__METHOD__."($id, $user)".print_r($options,true));
if (!preg_match('/^METHOD:(PUBLISH|REQUEST)(\r\n|\r|\n)(.*)^BEGIN:VEVENT/ism', $options['content'])) return true;
$return_no_access = true; // as handled by importVCal anyway and allows it to set the status for participants
$oldEvent = $this->_common_get_put_delete('PUT',$options,$id,$return_no_access);
if (!is_null($oldEvent) && !is_array($oldEvent))

View File

@ -2207,6 +2207,7 @@ class calendar_ical extends calendar_boupdate
return false;
}
/*
$mozillaACK = $component->getAttribute('X-MOZ-LASTACK');
if ($this->productName == 'lightning' && !is_a($mozillaACK, 'PEAR_Error'))
{
@ -2217,6 +2218,7 @@ class calendar_ical extends calendar_boupdate
}
return false;
}
*/
if (!empty($GLOBALS['egw_info']['user']['preferences']['syncml']['minimum_uid_length']))
{