summaryrefslogtreecommitdiff
path: root/lib/Kolab/Cyrus.pm
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2007-10-08 15:50:11 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2007-10-08 15:50:11 (GMT)
commit24bffbd1c7974f0098f0c8e9246aba40a940903b (patch)
treea2b46bcd8eba951354b70aa5ffa6a0ef1e4c9089 /lib/Kolab/Cyrus.pm
parent6101d85c293114c34169b0b57db705eae80f4635 (diff)
downloadperl-Kolab-24bffbd1c7974f0098f0c8e9246aba40a940903b.tar.gz
Determine connect_addr and use it for connecting to Kolab services.
Diffstat (limited to 'lib/Kolab/Cyrus.pm')
-rw-r--r--lib/Kolab/Cyrus.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Kolab/Cyrus.pm b/lib/Kolab/Cyrus.pm
index b068b5f..8b62ff7 100644
--- a/lib/Kolab/Cyrus.pm
+++ b/lib/Kolab/Cyrus.pm
@@ -58,7 +58,7 @@ sub create
{
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);