thomas: server/perl-kolab/Kolab-Cyrus Cyrus.pm,1.9,1.9.2.1

cvs at kolab.org cvs at kolab.org
Wed Sep 19 19:06:44 CEST 2007


Author: thomas

Update of /kolabrepository/server/perl-kolab/Kolab-Cyrus
In directory doto:/tmp/cvs-serv6825/perl-kolab/Kolab-Cyrus

Modified Files:
      Tag: kolab_2_1_branch
	Cyrus.pm 
Log Message:
Determine connect_addr and use it for connecting to Kolab services.


Index: Cyrus.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/Kolab-Cyrus/Attic/Cyrus.pm,v
retrieving revision 1.9
retrieving revision 1.9.2.1
diff -u -d -r1.9 -r1.9.2.1
--- Cyrus.pm	28 Mar 2007 01:48:28 -0000	1.9
+++ Cyrus.pm	19 Sep 2007 17:06:42 -0000	1.9.2.1
@@ -53,7 +53,7 @@
 {
     Kolab::log('Y', 'Connecting to local Cyrus admin interface');
 
-    my $cyrus = Cyrus::IMAP::Admin->new('localhost');
+    my $cyrus = Cyrus::IMAP::Admin->new($Kolab::config{'connect_addr'});
 
     if (!$cyrus) {
         Kolab::log('Y', 'Unable to connect to local Cyrus admin interface', KOLAB_ERROR);





More information about the commits mailing list