Add deleted vfolders to eltdiff list.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 29 Sep 2009 04:09:57 +0000 (22:09 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 29 Sep 2009 04:09:57 +0000 (22:09 -0600)
imp/lib/Imap/Tree.php

index a1a1968..1703737 100644 (file)
@@ -802,6 +802,10 @@ class IMP_Imap_Tree
             $parent = $this->_tree[$id]['p'];
             unset($this->_tree[$id]);
 
+            if (!is_null($this->_eltdiff)) {
+                $this->_eltdiff['d'][$id] = 1;
+            }
+
             /* Delete the entry from the parent tree. */
             $key = array_search($id, $this->_parent[$parent]);
             unset($this->_parent[$parent][$key]);