Kaynağa Gözat

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

stekkel 23 yıl önce
ebeveyn
işleme
d200899320
1 değiştirilmiş dosya ile 8 ekleme ve 0 silme
  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"),