From d0aef23ba92656eb9c0e55b26ed01a5d1b555505 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Tue, 29 Apr 2014 05:44:58 -0400
Subject: [PATCH] Support sql_debug option here

---
 bin/updatedb.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/bin/updatedb.sh b/bin/updatedb.sh
index f504634..daee6e8 100755
--- a/bin/updatedb.sh
+++ b/bin/updatedb.sh
@@ -45,6 +45,8 @@
 $RC = rcube::get_instance();
 $DB = rcube_db::factory($RC->config->get('db_dsnw'));
 
+$DB->set_debug((bool)$RC->config->get('sql_debug'));
+
 // Connect to database
 $DB->db_connect('w');
 if (!$DB->is_connected()) {

--
Gitblit v1.9.1