diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2014-10-27 13:35:10 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2014-10-27 13:35:10 (GMT) |
commit | 9888161d9420ba03e9f651574a4960e0574fa85e (patch) | |
tree | 7e85d038e238f2d4d109ed8e0c64d8dfe5708051 | |
parent | 2446e622016b425d7a05332452199b2c5854d01f (diff) | |
download | iRony-9888161d9420ba03e9f651574a4960e0574fa85e.tar.gz |
Reset LDAP instance before searching (#3837)
-rw-r--r-- | lib/Kolab/CardDAV/LDAPDirectory.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Kolab/CardDAV/LDAPDirectory.php b/lib/Kolab/CardDAV/LDAPDirectory.php index ca175f2..ccebbe4 100644 --- a/lib/Kolab/CardDAV/LDAPDirectory.php +++ b/lib/Kolab/CardDAV/LDAPDirectory.php @@ -164,6 +164,8 @@ class LDAPDirectory extends DAV\Collection implements \Sabre\CardDAV\IDirectory, $contact = null; if ($ldap = $this->connect()) { + $ldap->reset(); + // used cached uid mapping $cached_index = $this->cache ? $this->cache->get('index') : array(); if ($cached_index[$uid]) { |