* EMailAdmin: fixed not shown quote for Cyrus backend (Cyrus returns no used space, if no quota set!)

This commit is contained in:
Ralf Becker 2015-05-27 07:09:36 +00:00
parent d4961794d6
commit 701a311904

View File

@ -124,8 +124,7 @@ class emailadmin_imap_cyrus extends emailadmin_imap
} }
//error_log(__LINE__.': '.__METHOD__."('$_username') quota=".array2string($quota).' returning '.array2string($userData)); //error_log(__LINE__.': '.__METHOD__."('$_username') quota=".array2string($quota).' returning '.array2string($userData));
// $this->disconnect() does nothing anymore, need to use $this->adminConnection(false) instead! if ($_username !== $GLOBALS['egw_info']['user']['account_lid']) $this->disconnect();
if ($_username !== $GLOBALS['egw_info']['user']['account_lid']) $this->adminConnection(false);
return $userData; return $userData;
} }