Przeglądaj źródła

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

stekkel 23 lat temu
rodzic
commit
d200899320
1 zmienionych plików z 8 dodań i 0 usunięć
  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"),