Browse Source

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

stekkel 23 năm trước cách đây
mục cha
commit
d200899320
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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"),