summaryrefslogtreecommitdiff
path: root/program/include/rcube_imap_generic.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-11-24 11:55:55 +0000
committeralecpl <alec@alec.pl>2010-11-24 11:55:55 +0000
commit576b330ebd2541d89319ca4ef04e2fde172d2cc8 (patch)
tree12fb13cd7872d2d066a7f23f2af61f9cb3251ba3 /program/include/rcube_imap_generic.php
parentd1a9885f218896bbc3fc7beff914594a6b8763da (diff)
- Temporarily commented out \Noselect flag checking in select(), because of problems with Courier
Diffstat (limited to 'program/include/rcube_imap_generic.php')
-rw-r--r--program/include/rcube_imap_generic.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/program/include/rcube_imap_generic.php b/program/include/rcube_imap_generic.php
index 8ee17c2ee..2cffd00f4 100644
--- a/program/include/rcube_imap_generic.php
+++ b/program/include/rcube_imap_generic.php
@@ -808,13 +808,16 @@ class rcube_imap_generic
if ($this->selected == $mailbox) {
return true;
}
+/*
+ Temporary commented out because Courier returns \Noselect for INBOX
+ Requires more investigation
if (is_array($this->data['LIST']) && is_array($opts = $this->data['LIST'][$mailbox])) {
if (in_array('\\Noselect', $opts)) {
return false;
}
}
-
+*/
list($code, $response) = $this->execute('SELECT', array($this->escape($mailbox)));
if ($code == self::ERROR_OK) {