From b373ac82e4ad073eadf6ca5489a07b89ef7c6b07 Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Wed, 26 Jun 2013 03:53:42 -0400
Subject: [PATCH] Don't query cache if static group_filter list is used
---
program/lib/Roundcube/rcube_ldap.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/program/lib/Roundcube/rcube_ldap.php b/program/lib/Roundcube/rcube_ldap.php
index 323dac3..ff44676 100644
--- a/program/lib/Roundcube/rcube_ldap.php
+++ b/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();
}
--
Gitblit v1.9.1