mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:59:39 +01:00
* email/IMAP: revert the static caching of the selected mailbox, as the selecting of the mailbox seems not to live through the request
This commit is contained in:
parent
08af7636e0
commit
f3b4b5687e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user