Changeset d6eb7c0 in github
- Timestamp:
- Apr 10, 2012 3:47:15 AM (14 months ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.8
- Children:
- 559446d
- Parents:
- a274fb2e
- Files:
-
- 2 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcube_ldap.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
ra274fb2e rd6eb7c0 2 2 =========================== 3 3 4 - Fix removing all folders on import to LDAP addressbook 4 5 - Fix so "Back" from compose/show doesn't reset search request (#1488238) 5 6 - Add option to delete messages instead of moving to Trash when in Junk folder (#1486686) -
program/include/rcube_ldap.php
r19fccd8 rd6eb7c0 1285 1285 // Need to delete all sub-entries first 1286 1286 if ($this->sub_filter) { 1287 if ($entries = $this->ldap_list($dn, $this->sub_filter , array_keys($this->props['sub_fields']))) {1287 if ($entries = $this->ldap_list($dn, $this->sub_filter)) { 1288 1288 foreach ($entries as $entry) { 1289 1289 if (!$this->ldap_delete($entry['dn'])) { … … 1312 1312 1313 1313 return count($ids); 1314 } 1315 1316 1317 /** 1318 * Remove all contact records 1319 */ 1320 function delete_all() 1321 { 1322 //searching for contact entries 1323 $dn_list = $this->ldap_list($this->base_dn, $this->prop['filter'] ? $this->prop['filter'] : '(objectclass=*)'); 1324 1325 if (!empty($dn_list)) { 1326 foreach ($dn_list as $idx => $entry) { 1327 $dn_list[$idx] = self::dn_encode($entry['dn']); 1328 } 1329 $this->delete($dn_list); 1330 } 1314 1331 } 1315 1332 … … 2173 2190 * Wrapper for ldap_list() 2174 2191 */ 2175 protected function ldap_list($dn, $filter, $attrs )2192 protected function ldap_list($dn, $filter, $attrs = array('')) 2176 2193 { 2177 2194 $list = array();
Note: See TracChangeset
for help on using the changeset viewer.
