From e2f8ff8b0a798913204ed0de5bff919f72d1773c Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 29 Mar 2010 21:54:04 +1300 Subject: [PATCH] Reorder if statement for better readability. --- inc/caldav-PUT-functions.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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 = <<