X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=include%2Fclass_mail-methods-cyrus.inc;h=18e55fa6d2810d93dba2bdddaa582aa711c49b60;hb=2aeab3942abfef8c64c1377992d73082227be400;hp=4e752abf6534c6c8e098793df698bbd4d25e10e6;hpb=7581b2090a04a369faa766dc7a9b28377d57150c;p=gosa.git diff --git a/include/class_mail-methods-cyrus.inc b/include/class_mail-methods-cyrus.inc index 4e752abf6..18e55fa6d 100644 --- a/include/class_mail-methods-cyrus.inc +++ b/include/class_mail-methods-cyrus.inc @@ -141,28 +141,6 @@ var $uattrib= "uid"; } - 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 */