From: Michael M Slusarz Date: Tue, 7 Sep 2010 05:43:11 +0000 (-0600) Subject: Don't do isOpen check when collapsing X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e4a11828035ad0ae838250921c4bf3815a269ab2;p=horde.git Don't do isOpen check when collapsing --- diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index 9e9fb7af0..2d6da34c2 100644 --- a/imp/lib/Imap/Tree.php +++ b/imp/lib/Imap/Tree.php @@ -422,8 +422,7 @@ class IMP_Imap_Tree implements ArrayAccess, Iterator, Serializable { $folder = $this->_convertName($folder); - if (isset($this->_tree[$folder]) && - $this->isOpen($this->_tree[$folder])) { + if (isset($this->_tree[$folder])) { $this->changed = true; $this->_setOpen($this->_tree[$folder], false); }