ispman/lib mailbox_actions_cyrus.lib,1.4,1.5

Joerg Delker <[email protected]> Thu, 19 Apr 2007 21:32:25 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/lib
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv24342/lib

Modified Files:
	mailbox_actions_cyrus.lib 
Log Message:
fixed bug [ 1703939 ] ispman.getMailboxQuota broken

Index: mailbox_actions_cyrus.lib
===================================================================
RCS file: /cvsroot/ispman/ispman/lib/mailbox_actions_cyrus.lib,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mailbox_actions_cyrus.lib	22 Jan 2007 21:45:59 -0000	1.4
+++ mailbox_actions_cyrus.lib	19 Apr 2007 21:32:23 -0000	1.5
@@ -146,11 +146,7 @@
     my $mailbox = mail2mailbox(shift);
 
     $imap_conn or _connect($server);
-    if ( $imap_conn->get_quota($mailbox) ) {
-        print $imap_conn->error . "\n";
-        return 1;
-    }
-    return 0;
+    return $imap_conn->get_quota($mailbox);
 }
 
 sub set_quota {


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/