From f3b4b5687ecb8fc3644053715df7b66bb7c7fe86 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 22 Aug 2012 07:37:21 +0000 Subject: [PATCH] * email/IMAP: revert the static caching of the selected mailbox, as the selecting of the mailbox seems not to live through the request --- egw-pear/Net/IMAP.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/egw-pear/Net/IMAP.php b/egw-pear/Net/IMAP.php index e78a648acf..9edd876197 100644 --- a/egw-pear/Net/IMAP.php +++ b/egw-pear/Net/IMAP.php @@ -221,7 +221,8 @@ class Net_IMAP extends Net_IMAPProtocol { function selectMailbox($mailbox) { static $mailboxSelected; - if (!empty($mailboxSelected) && $mailboxSelected==$mailbox) return true; + // does not work as expected + //if (!empty($mailboxSelected) && $mailboxSelected==$mailbox) return true; if (PEAR::isError($ret=$this->cmdSelect($mailbox))) { return $ret;