Note TODO item.

This commit is contained in:
Andrew McMillan 2008-02-15 07:09:01 +13:00
parent afef5f231d
commit 8c2e2b3150

View File

@ -37,6 +37,7 @@ if ( $qry->Exec("GET") && $qry->rows == 1 ) {
$request->DoResponse( 200, ($request->method == "HEAD" ? "" : $event->caldav_data), "text/calendar" );
}
else if ( $qry->rows < 1 ) {
/** TODO: If we are attempting to read a collection we should return an empty VCALENDAR rather than a 404 */
$request->DoResponse( 404, translate("Calendar Resource Not Found.") );
}
else if ( $qry->rows > 1 ) {