From: Michael M Slusarz Date: Wed, 29 Jul 2009 18:43:17 +0000 (-0600) Subject: Use isEditableVFolder(). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4595bd9e1713855d619688a86938079c19b16377;p=horde.git Use isEditableVFolder(). --- diff --git a/imp/lib/Search.php b/imp/lib/Search.php index d5221e3b9..6e638ce35 100644 --- a/imp/lib/Search.php +++ b/imp/lib/Search.php @@ -102,8 +102,7 @@ class IMP_Search $imaptree = IMP_Imap_Tree::singleton(); foreach ($this->_getVFolderList() as $key => $val) { if (!empty($val['vfolder']) && - !$this->isVTrashFolder($key) && - !$this->isVINBOXFolder($key)) { + !$this->isEditableVFolder($key)) { $imaptree->insertVFolders(array($key => $val['label'])); unset($val['uiinfo']); $_SESSION['imp']['search'][$key] = $val; @@ -445,7 +444,7 @@ class IMP_Search } /** - * Is the current active folder an editable Virtual Folder? + * Is a mailbox an editable Virtual Folder? * * @param string $id The search query id to use (by default, will use * the current ID set in the object).