Don't do isOpen check when collapsing
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 7 Sep 2010 05:43:11 +0000 (23:43 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 7 Sep 2010 05:43:11 +0000 (23:43 -0600)
imp/lib/Imap/Tree.php

index 9e9fb7a..2d6da34 100644 (file)
@@ -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);
         }