From: hickert Date: Fri, 20 Oct 2006 09:21:26 +0000 (+0000) Subject: Removed old function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9d9f28ced5ab120fe141db4661db5de233019485;p=gosa.git Removed old function git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4910 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */