diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-09 13:22:36 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2012-02-09 13:22:36 +0000 |
| commit | a2208a7615f7e778673ac8ef674734a1a4b7f9a7 (patch) | |
| tree | 5d4bd645f2da4a152cb633afae802a95bc8e3cd9 /plugins/newmail_notifier | |
| parent | 0f6321fb2d0213a9057b3be86ba2513184bb8121 (diff) | |
- Add trash folder to exceptions list
git-svn-id: https://svn.roundcube.net/trunk@5869 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins/newmail_notifier')
| -rw-r--r-- | plugins/newmail_notifier/newmail_notifier.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/newmail_notifier/newmail_notifier.php b/plugins/newmail_notifier/newmail_notifier.php index bd61e3692..20ffac8ce 100644 --- a/plugins/newmail_notifier/newmail_notifier.php +++ b/plugins/newmail_notifier/newmail_notifier.php @@ -140,7 +140,9 @@ class newmail_notifier extends rcube_plugin // Get folders to skip checking for if (empty($this->exceptions)) { $this->delimiter = $this->rc->storage->get_hierarchy_delimiter(); - foreach (array('drafts_mbox', 'sent_mbox') as $folder) { + + $exceptions = array('drafts_mbox', 'sent_mbox', 'trash_mbox'); + foreach ($exceptions as $folder) { $folder = $this->rc->config->get($folder); if (strlen($folder) && $folder != 'INBOX') { $this->exceptions[] = $folder; |
