summaryrefslogtreecommitdiff
path: root/lib/Kolab/Cyrus.pm
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-06-15 18:12:50 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-06-15 18:12:50 (GMT)
commitbaa2d91f5ba5deae5d2c5d1c26471166f187490d (patch)
tree5b94a18863ec8c41a4a255a69a00b91bf4ad63fe /lib/Kolab/Cyrus.pm
parent381f418a1f6cd0ac1aae4da79f1ca4e33dad0a04 (diff)
downloadperl-Kolab-baa2d91f5ba5deae5d2c5d1c26471166f187490d.tar.gz
Insert return codes on Kolab::cyrusMurderRenameMailbox()
Diffstat (limited to 'lib/Kolab/Cyrus.pm')
-rw-r--r--lib/Kolab/Cyrus.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kolab/Cyrus.pm b/lib/Kolab/Cyrus.pm
index 1cabab1..7ed630a 100644
--- a/lib/Kolab/Cyrus.pm
+++ b/lib/Kolab/Cyrus.pm
@@ -219,7 +219,10 @@ sub renameMailbox
if (!$cyrus->renamemailbox($mailboxPath, $newMailboxPath)) {
Kolab::log('Y', "Unable to rename mailbox `$mailboxPath' to `$newMailboxPath', Error = `" . $cyrus->error . "'", KOLAB_WARN);
+ return 1;
}
+
+ return 0;
}
sub transferMailbox