diff --git a/inc/caldav-PUT-functions.php b/inc/caldav-PUT-functions.php index 457c0f3c..129ccdf6 100644 --- a/inc/caldav-PUT-functions.php +++ b/inc/caldav-PUT-functions.php @@ -901,17 +901,7 @@ function write_resource( $user_no, $path, $caldav_data, $collection_id, $author, $calitem_params[':due'] = $first->GetPValue('DUE'); $calitem_params[':percent_complete'] = $first->GetPValue('PERCENT-COMPLETE'); $calitem_params[':status'] = $first->GetPValue('STATUS'); - if ( $put_action_type != 'INSERT' ) { - $sql = <<