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

---
 config/main.inc.php.dist |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 56e5a79..71c2380 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -442,6 +442,11 @@
 // or any integer value indicating number of seconds.
 $rcmail_config['upload_progress'] = false;
 
+// Specifies for how many seconds the Undo button will be available
+// after object delete action. Currently used with supporting address book sources.
+// Setting it to 0, disables the feature.
+$rcmail_config['undo_timeout'] = 0;
+
 // ----------------------------------
 // ADDRESSBOOK SETTINGS
 // ----------------------------------

--
Gitblit v1.9.1