Connect to IMAP server before reading quota

pull/1/head
thomascube 13 years ago
parent a1bd76232a
commit ef1e877a8d

@ -2729,7 +2729,7 @@ class rcube_imap extends rcube_storage
*/ */
public function get_quota() public function get_quota()
{ {
if ($this->get_capability('QUOTA')) { if ($this->get_capability('QUOTA') && $this->check_connection()) {
return $this->conn->getQuota(); return $this->conn->getQuota();
} }

Loading…
Cancel
Save