summaryrefslogtreecommitdiff
path: root/program/include/rcube_db_sqlite.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-07-09 19:29:18 +0200
committerAleksander Machniak <alec@alec.pl>2012-07-09 19:29:18 +0200
commit329eae0abd8fd3297e90577d7922864ce8078571 (patch)
tree7d1df44b9e6660985d3ffb64171f76a4ac6a9682 /program/include/rcube_db_sqlite.php
parent8e926e6201dbd8876ed26c9a4b3af5d7079d6247 (diff)
Fix debugging in sqlite driver
Diffstat (limited to 'program/include/rcube_db_sqlite.php')
-rw-r--r--program/include/rcube_db_sqlite.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/program/include/rcube_db_sqlite.php b/program/include/rcube_db_sqlite.php
index 0b41ef551..57f8ddc2a 100644
--- a/program/include/rcube_db_sqlite.php
+++ b/program/include/rcube_db_sqlite.php
@@ -63,9 +63,7 @@ class rcube_db_sqlite extends rcube_db
$data = file_get_contents(INSTALL_PATH . 'SQL/sqlite.initial.sql');
if (strlen($data)) {
- if ($this->options['debug_mode']) {
- $this::debug('INITIALIZE DATABASE');
- }
+ $this->debug('INITIALIZE DATABASE');
$q = $dbh->exec($data);