summaryrefslogtreecommitdiff
path: root/program/include/rcube_ldap.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-07-08 13:03:42 +0000
committeralecpl <alec@alec.pl>2011-07-08 13:03:42 +0000
commit63fda8af57a285020dc094adcf6eeb46bee1c2d5 (patch)
treeddbbd13344dddee364e58f6b8539159694f52124 /program/include/rcube_ldap.php
parent78086d349dc8085a09ceedd1ea06b3c45ea011bb (diff)
- Make Undo action optional by setting undo_timeout=0
Diffstat (limited to 'program/include/rcube_ldap.php')
-rw-r--r--program/include/rcube_ldap.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 4ea4f6046..4205df271 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -834,11 +834,12 @@ class rcube_ldap extends rcube_addressbook
/**
* Mark one or more contact records as deleted
*
- * @param array Record identifiers
+ * @param array Record identifiers
+ * @param boolean Remove record(s) irreversible (unsupported)
*
* @return boolean True on success, False on error
*/
- function delete($ids)
+ function delete($ids, $force=true)
{
if (!is_array($ids)) {
// Not an array, break apart the encoded DNs.