Sfoglia il codice sorgente

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

stekkel 23 anni fa
parent
commit
d200899320
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  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"),