gunnar: server/kolab-freebusy/freebusy generatefb.php,1.5,1.6

cvs at kolab.org cvs at kolab.org
Thu Feb 7 10:04:48 CET 2008


Author: gunnar

Update of /kolabrepository/server/kolab-freebusy/freebusy
In directory doto:/tmp/cvs-serv9672/kolab-freebusy/freebusy

Modified Files:
	generatefb.php 
Log Message:
Ensure that we are connected to IMAP.

Index: generatefb.php
===================================================================
RCS file: /kolabrepository/server/kolab-freebusy/freebusy/generatefb.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- generatefb.php	7 Feb 2008 06:04:17 -0000	1.5
+++ generatefb.php	7 Feb 2008 09:04:46 -0000	1.6
@@ -121,6 +121,7 @@
     if ($access->user == 'manager') {
         $imapc = &Kolab_IMAP_Connection::singleton(Kolab::getServer('imap'),
                                                    $GLOBALS['conf']['kolab']['imap']['port']);
+        $imapc->connect($access->user, $access->pass);
         if (is_a($imapc, 'PEAR_Error')) {
             echo "Failed connecting the server!\n";
             var_dump($imapc->getMessage());





More information about the commits mailing list