diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2012-10-03 14:17:05 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2012-10-03 14:17:05 +0200 |
commit | 05c4edf34bcff89fcae80389e890fa07271f5275 (patch) | |
tree | 21c9f740ad1c71cc9242c5d56a2defaf07d7af33 /plugins/managesieve/managesieve.php | |
parent | 7bcd291517e9aca620e8938e965347a73b620a7a (diff) | |
parent | d68c9088c3731ca84a0312e0648fe3c63e8d4a1d (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
Diffstat (limited to 'plugins/managesieve/managesieve.php')
-rw-r--r-- | plugins/managesieve/managesieve.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index 7282ff2e0..7f4624ec9 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -62,7 +62,7 @@ class managesieve extends rcube_plugin "x-beenthere", ); - const VERSION = '5.2'; + const VERSION = '6.0'; const PROGNAME = 'Roundcube (Managesieve)'; const PORT = 4190; @@ -1839,6 +1839,12 @@ class managesieve extends rcube_plugin if ($active = $this->sieve->get_active()) { $this->active = array($active); } + + // Hide scripts from config + $exceptions = $this->rc->config->get('managesieve_filename_exceptions'); + if (!empty($exceptions)) { + $this->list = array_diff($this->list, (array)$exceptions); + } } return $this->list; |