Thomas Bruederli
2013-06-26 b373ac82e4ad073eadf6ca5489a07b89ef7c6b07
Don't query cache if static group_filter list is used
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_ldap.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_ldap.php
@@ -1532,7 +1532,7 @@
            return array();
        // use cached list for searching
        if (!$this->cache || ($group_cache = $this->cache->get('groups')) === null) {
        if (!$this->cache || !empty($this->prop['group_filters']) || ($group_cache = $this->cache->get('groups')) === null) {
            $group_cache = $this->_fetch_groups();
        }