mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-04 15:24:02 +01:00
Connect to IMAP server before reading quota
This commit is contained in:
@@ -2729,7 +2729,7 @@ class rcube_imap extends rcube_storage
|
||||
*/
|
||||
public function get_quota()
|
||||
{
|
||||
if ($this->get_capability('QUOTA')) {
|
||||
if ($this->get_capability('QUOTA') && $this->check_connection()) {
|
||||
return $this->conn->getQuota();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user