martin: server/kolab-resource-handlers/kolab-resource-handlers/freebusy freebusy.class.php.in, 1.11, 1.12

cvs at kolab.org cvs at kolab.org
Thu May 3 01:43:22 CEST 2007


Author: martin

Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv22409

Modified Files:
	freebusy.class.php.in 
Log Message:
Martin Konold: removed bogus DTSTART and DTEND for empty calendar folders.
see also: https://intevation.de/roundup/kolab/issue1422 (Thanks to Pieter!)


Index: freebusy.class.php.in
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php.in,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- freebusy.class.php.in	20 Mar 2007 16:20:55 -0000	1.11
+++ freebusy.class.php.in	2 May 2007 23:43:20 -0000	1.12
@@ -23,8 +23,10 @@
 
  /*
     TODO: Looks like we don't get called for deleted folders.
-         Best thing would be to have a cron script which deletes
-         unmodified pfbs/caches after 2 months.
+          Best thing would be to make the clients make the call.
+    	  As an alternative a update_pfbs(user) script which can be 
+	  called regularily for all users also helps with incompatible
+	  updates.
  */
 
 
@@ -165,8 +167,10 @@
     $status = imap_status_current($this->imap, SA_MESSAGES | SA_UIDVALIDITY | SA_UIDNEXT);
 
     if( $status->messages == 0 ) {
-      $vFb->setAttribute('DTSTART', 0, array(), false );
-      $vFb->setAttribute('DTEND', 0, array(), false );
+      //Outlook does not like the fake DTSTART and DTEND information 
+      //see also: https://intevation.de/roundup/kolab/issue1422
+      //$vFb->setAttribute('DTSTART', 0, array(), false );
+      //$vFb->setAttribute('DTEND', 0, array(), false );
       $vFb->setAttribute('COMMENT', 'This is a dummy vfreebusy that indicates an empty calendar');
       /* It seems to be a bad idea to put bogus values in pfbs
        * so we accept that they are not completely in line 





More information about the commits mailing list