stuart: server/kolab-resource-handlers/kolab-resource-handlers/freebusy freebusy.php, 1.13, 1.14
cvs at intevation.de
cvs at intevation.de
Wed Jul 21 23:09:52 CEST 2004
Author: stuart
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv10610
Modified Files:
freebusy.php
Log Message:
Only get the body of the kolab MIME part, not the entire part (i.e. excl. headers).
Index: freebusy.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- freebusy.php 16 Jul 2004 12:40:14 -0000 1.13
+++ freebusy.php 21 Jul 2004 21:09:50 -0000 1.14
@@ -273,7 +273,7 @@
if ($conttype == 'application/x-vnd.kolab.event') {
$part = $mimemsg->getPart($mimeid);
- $event = getEventHash($part->toString());
+ $event = getEventHash($part->getContents());
if ($event === false) {
continue;
}
@@ -447,15 +447,15 @@
$imap = @imap_open($fullmbox, $imapuser, $imappw, OP_HALFOPEN );
if (!$imap ) {
// Login error, check the cache
- // Dont bail out on error here,
+ // Dont bail out on error here,
// Just proceed to the cache
} else {
testIMAPError();
trigger_error("Trying to reopen mailbox $fullmbox", E_USER_NOTICE);
@imap_reopen($imap, $fullmbox);
if (imap_last_error()) {
- // Dont bail out on error here,
- // Just proceed to the cache
+ // Dont bail out on error here,
+ // Just proceed to the cache
trigger_error("IMAP Error trying to open $fullmbox: " . imap_last_error(), E_USER_WARNING);
} else {
// Enumerate our calendar events
More information about the commits
mailing list