forked from extern/egroupware
Improve CalDAV PUT handler
This commit is contained in:
parent
a07579f56f
commit
6f8bc7339e
@ -477,7 +477,9 @@ error_log(__METHOD__."($path,,".array2string($start).") filter=".array2string($f
|
|||||||
function put(&$options,$id,$user=null)
|
function put(&$options,$id,$user=null)
|
||||||
{
|
{
|
||||||
if ($this->debug) error_log(__METHOD__."($id, $user)".print_r($options,true));
|
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
|
$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);
|
$oldEvent = $this->_common_get_put_delete('PUT',$options,$id,$return_no_access);
|
||||||
if (!is_null($oldEvent) && !is_array($oldEvent))
|
if (!is_null($oldEvent) && !is_array($oldEvent))
|
||||||
|
Loading…
Reference in New Issue
Block a user