From 63fda8af57a285020dc094adcf6eeb46bee1c2d5 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Fri, 08 Jul 2011 09:03:42 -0400
Subject: [PATCH] - Make Undo action optional by setting undo_timeout=0

---
 program/include/rcube_ldap.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index 4ea4f60..4205df2 100644
--- a/program/include/rcube_ldap.php
+++ b/program/include/rcube_ldap.php
@@ -834,11 +834,12 @@
     /**
      * 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.

--
Gitblit v1.9.1