mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
Fix CalDAV PUT issue
This commit is contained in:
parent
f0edcf06da
commit
1198c44821
@ -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))
|
||||
|
@ -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']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user