summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-25 18:15:25 +0000
committerthomascube <thomas@roundcube.net>2012-02-25 18:15:25 +0000
commitef1e877a8dd419fcb0de772bf0c40eeca76ee7eb (patch)
tree7212209af948cbf9aa4a86ef7726322a47c0d1e6 /program/include/rcube_imap.php
parenta1bd76232a662a4ec3468305f8e66632c6c92479 (diff)
Connect to IMAP server before reading quota
Diffstat (limited to 'program/include/rcube_imap.php')
-rw-r--r--program/include/rcube_imap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_imap.php b/program/include/rcube_imap.php
index 70b410ff8..fa3f60c3f 100644
--- a/program/include/rcube_imap.php
+++ b/program/include/rcube_imap.php
@@ -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();
}