steffen: server/kolab-resource-handlers/kolab-resource-handlers/freebusy freebusy.class.php, 1.22, 1.23
cvs at intevation.de
cvs at intevation.de
Fri Jan 7 23:24:18 CET 2005
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy
In directory doto:/tmp/cvs-serv12001/kolab-resource-handlers/freebusy
Modified Files:
freebusy.class.php
Log Message:
Fix for Issue593 (incidences-for default) + some path tweaks to allow our code to coexist with the webclient
Index: freebusy.class.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/freebusy/freebusy.class.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- freebusy.class.php 16 Dec 2004 20:54:46 -0000 1.22
+++ freebusy.class.php 7 Jan 2005 22:24:16 -0000 1.23
@@ -76,11 +76,11 @@
function getRelevance() {
$val = $this->imap->getAnnotation( '/vendor/kolab/incidences-for', 'value.shared' );
- if( PEAR::isError($val) ) {
+ if( PEAR::isError($val) || empty($val) ) {
myLog("No /vendor/kolab/incidences-for found for ".$this->foldername, RM_LOG_DEBUG);
return 'admins';
} else {
- myLog("/vendor/kolab/incidences-for = $val for ".$this->foldername, RM_LOG_DEBUG);
+ myLog("/vendor/kolab/incidences-for = ".print_r($val,true)." for ".$this->foldername, RM_LOG_DEBUG);
return $val;
}
}
More information about the commits
mailing list