summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: be5a0a3)
raw | patch | inline | side by side (parent: be5a0a3)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Oct 2006 09:21:26 +0000 (09:21 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Oct 2006 09:21:26 +0000 (09:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4910 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_mail-methods-cyrus.inc | patch | blob | history |
index 4e752abf6534c6c8e098793df698bbd4d25e10e6..18e55fa6d2810d93dba2bdddaa582aa711c49b60 100644 (file)
}
- function getMailboxList2($folder, $uid= "")
- {
- /* Initialize depending on group or user mode */
- if ($uid != ""){
- $result= array("INBOX");
- } else {
- $result= array();
- }
-
- /* Get list of mailboxes for combo box */
- $cfg= $this->config[$this->gosaMailServer];
- $list = imap_listmailbox($this->mbox, $cfg["connect"], $folder.".*");
- if (is_array($list)){
- foreach ($list as $val){
- $result[]=preg_replace ("/.*user\.".$uid."\./",
- "INBOX.", imap_utf7_decode ($val));
- }
- }
-
- return ($result);
- }
-
function updateMailbox($folder)
{
/* Check if mailbox exists */