From: jangliss Date: Thu, 19 Jun 2003 05:40:56 +0000 (+0000) Subject: Now that I have seemed to have fixed the INBOX issue with courier/uw, X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=16d48d1654839ded46b613fd212e53eb4c747291 Now that I have seemed to have fixed the INBOX issue with courier/uw, enabling this code actually does good in uw (it hides the mail/ non-select folder), and makes the folders all line up. In courier, folders no longer appear (though they still are) subs of inbox... should we change this? Retested code with exchange, cyrus, uw, and courier, all seem good now. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5091 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index 73852cd9..0a376ce2 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -814,10 +814,6 @@ function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false) { $trail_del = false; $start = 0; -/* JA - Seems to really screw up folder displays, courier and uw both lose their INBOX when you - have a default_folder_prefix set on this - - if (isset($folder_prefix) && ($folder_prefix != '')) { $start = substr_count($folder_prefix,$delimiter); if (strrpos($folder_prefix, $delimiter) == (strlen($folder_prefix)-1)) { @@ -831,7 +827,6 @@ function sqimap_fill_mailbox_tree($mbx_ary, $mbxs=false) { } else { $start = 0; } -*/ $cnt = count($mbx_ary); for ($i=0; $i < $cnt; $i++) {