summaryrefslogtreecommitdiff
path: root/program/include/main.inc
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-04-04 16:29:33 +0000
committerthomascube <thomas@roundcube.net>2008-04-04 16:29:33 +0000
commit36bb3e9575e05369f2eebd98241877352d5245ee (patch)
treea8d34a679506a02eb0044e7ee1dae1e48e116b5c /program/include/main.inc
parentdf015d175af9751dd3cd19c7ab35ffc658181667 (diff)
Remove unnecessary code; unread counts are added client side
Diffstat (limited to 'program/include/main.inc')
-rw-r--r--program/include/main.inc4
1 files changed, 0 insertions, 4 deletions
diff --git a/program/include/main.inc b/program/include/main.inc
index 459648668..1d35682ce 100644
--- a/program/include/main.inc
+++ b/program/include/main.inc
@@ -1800,10 +1800,6 @@ function rcmail_render_folder_tree_html(&$arrFolders, &$mbox_name, $maxlength, $
}
}
- // add unread message count display
- if ($unread_count = $IMAP->messagecount($folder['id'], 'RECENT', ($folder['id']==$mbox_name)))
- $foldername .= sprintf(' (%d)', $unread_count);
-
// make folder name safe for ids and class names
$folder_id = preg_replace('/[^A-Za-z0-9\-_]/', '', $folder['id']);
$class_name = preg_replace('/[^a-z0-9\-_]/', '', $folder_class ? $folder_class : strtolower($folder['id']));