浏览代码

Added option to disable cumalative unseen count because status request are
slow. This will improve the speed of the mailbox generation proces

stekkel 23 年之前
父节点
当前提交
d200899320
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      include/options/folder.php

+ 8 - 0
include/options/folder.php

@@ -164,6 +164,14 @@ function load_optpage_data_folder() {
         'refresh' => SMOPT_REFRESH_FOLDERLIST
     );
 
+    $optvals[SMOPT_GRP_FOLDERLIST][] = array(
+        'name'    => 'unseen_cum',
+        'caption' => _("Enable Cumulative Unread Message Notification"),
+        'type'    => SMOPT_TYPE_BOOLEAN,
+        'refresh' => SMOPT_REFRESH_FOLDERLIST
+    );
+
+
     $optvals[SMOPT_GRP_FOLDERLIST][] = array(
         'name'    => 'date_format',
         'caption' => _("Show Clock on Folders Panel"),