From a38c0e33cb2368bd0bc26c5d8970678b92842944 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Mon, 30 Aug 2010 16:59:52 +1200 Subject: [PATCH] Comments only. --- inc/CalDAVRequest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/CalDAVRequest.php b/inc/CalDAVRequest.php index 42d5f9de..d9ce5c17 100644 --- a/inc/CalDAVRequest.php +++ b/inc/CalDAVRequest.php @@ -365,7 +365,6 @@ EOSQL; $this->collection_type = 'email'; $this->collection_path = $this->path; $this->_is_principal = true; -// $this->by_email = true; } else if ( preg_match( '#^(/[^/]+)/?$#', $this->path, $matches) || preg_match( '#^(/principals/[^/]+/[^/]+)/?$#', $this->path, $matches) ) { $this->collection_id = -1; @@ -858,6 +857,7 @@ EOSQL; function CoerceContentType() { if ( isset($this->content_type) ) { $type = explode( '/', $this->content_type, 2); + /** @todo: Perhaps we should look at the target collection type, also. */ if ( $type[0] == 'text' ) return; }