From 36d31ea75fccffa3aa71a24ac5a1614f56b64e30 Mon Sep 17 00:00:00 2001 From: Jack Bates Date: Thu, 13 Apr 2006 21:14:17 +0000 Subject: * Half way through filter support for calendar-query REPORTs * About to normalize report_response_helper with propfind_response_helper --- lib/bennu/iCalendar_components.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) (limited to 'lib/bennu') diff --git a/lib/bennu/iCalendar_components.php b/lib/bennu/iCalendar_components.php index 13934cb..13abac5 100644 --- a/lib/bennu/iCalendar_components.php +++ b/lib/bennu/iCalendar_components.php @@ -1,4 +1,4 @@ -is_valid()) { - return false; - } - - // Maybe the object is valid, but there are some required properties that - // have not been given explicit values. In that case, set them to defaults. - foreach($this->valid_properties as $property => $propdata) { - if(($propdata & RFC2445_REQUIRED) && empty($this->properties[$property])) { - $this->add_property($property); - } - } - // Start tag $string = rfc2445_fold('BEGIN:'.$this->name) . RFC2445_CRLF; @@ -407,4 +394,4 @@ class iCalendar_timezone extends iCalendar_component { // REMINDER: DTEND must be later than DTSTART for all components which support both // REMINDER: DUE must be later than DTSTART for all components which support both -?> \ No newline at end of file +?> -- cgit v1.2.3