diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-25 18:15:25 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-25 18:15:25 +0000 |
| commit | f5059f69b019f51675b0d641d57205653897e10e (patch) | |
| tree | 6a849786760c26075adc203cb840755af8cdf867 /roundcubemail/program | |
| parent | ac9a7a175ae0ac5f325116631b4d71163584cdc0 (diff) | |
Connect to IMAP server before reading quota
git-svn-id: https://svn.roundcube.net/trunk@5912 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 70b410ff8..fa3f60c3f 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/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(); } |
