summaryrefslogtreecommitdiff
path: root/lib/Kolab/Conf.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Kolab/Conf.pm')
-rw-r--r--lib/Kolab/Conf.pm9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Kolab/Conf.pm b/lib/Kolab/Conf.pm
index 8ca62ca..69e39f6 100644
--- a/lib/Kolab/Conf.pm
+++ b/lib/Kolab/Conf.pm
@@ -227,7 +227,7 @@ sub build {
} else {
# Modifier functions
SWITCH: {
- # Join function
+ # Join function
$fct eq 'join' && do {
if (ref $Kolab::config{$attr} eq "ARRAY") {
my @vals = @{$Kolab::config{$attr}} ;
@@ -260,11 +260,10 @@ sub build {
($skip == 0) && print $config $_;
}
}
-
+
$template->close;
$config->close;
-
if (-f $cfg) {
my $cfgtemp = $config->filename;
my $rc = `diff -q $cfg $cfgtemp`;
@@ -369,7 +368,7 @@ sub getCyrusGroups
foreach (@$userlist) {
my $uid = $_;
my $umesg = $ldap->search( base => $uid,
- scope => 'base',
+ scope => 'base',
filter => '(objectClass=*)' );
if ( $umesg && $umesg->code() <= 0 && $umesg->count() == 1 ) {
my $mail;
@@ -549,7 +548,7 @@ sub loadMetaTemplates
my ($found_end, $target, $permissions, $ownership);
while (<TEMPLATE>) {
$line = $_;
-
+
if (!$found_end) {
$found_end = $line =~ /^KOLAB_META_END$/;
if (!$found_end && $line) {