summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-06-17 21:03:21 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-06-17 21:03:21 (GMT)
commitf52ab265f5dac305a8a4fd469ae91f3982ebffb9 (patch)
tree07e1d2c795d4628c9e91a912f93389ecb984cecb
parent47b41c6c53cb88b4b73e800475ccdc5f90d58e45 (diff)
downloadperl-Kolab-f52ab265f5dac305a8a4fd469ae91f3982ebffb9.tar.gz
Fix the return values for transferMailbox
-rw-r--r--lib/Kolab/Cyrus.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Kolab/Cyrus.pm b/lib/Kolab/Cyrus.pm
index 7ed630a..3279ca3 100644
--- a/lib/Kolab/Cyrus.pm
+++ b/lib/Kolab/Cyrus.pm
@@ -235,10 +235,10 @@ sub transferMailbox
if (!$cyrus->xfermailbox($mailboxPath, $mailHost)) {
Kolab::log('Y', "Unable to transfer mailbox `$mailboxPath' to `$mailHost', Error = `" . $cyrus->error . "'", KOLAB_WARN);
- return 0;
+ return 1;
}
- return 1;
+ return 0;
}
sub setACL