From e54e0b894a77678b16ff712f6b69f782ac9c2916 Mon Sep 17 00:00:00 2001 From: fidian Date: Tue, 6 Feb 2001 20:39:09 +0000 Subject: [PATCH] * Cleaned up some code git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1065 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/folders.php | 23 +---------------------- src/folders_delete.php | 6 +----- src/left_main.php | 23 ++++++----------------- 3 files changed, 8 insertions(+), 44 deletions(-) diff --git a/src/folders.php b/src/folders.php index 23d74104..a3acfa81 100644 --- a/src/folders.php +++ b/src/folders.php @@ -165,28 +165,7 @@ } for ($i = 0; $i < count($boxes); $i++) { - if (count($boxes[$i]["flags"]) > 0) { - $noinf = false; - for ($j = 0; $j < count($boxes[$i]["flags"]); $j++) { - if ($boxes[$i]["flags"][$j] == "noinferiors") { - $noinf = true; - continue; - } - } - if ($noinf == false) { - if ((strtolower($boxes[$i]["unformatted"]) == "inbox") && ($default_sub_of_inbox == true)) { - $box = $boxes[$i]["unformatted"]; - $box2 = replace_spaces($boxes[$i]["unformatted-disp"]); - echo "