From 07722a2d1d9e4ff6e04a9b34a8ba42e4c4a66606 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 02 Jul 2009 04:35:45 -0400
Subject: [PATCH] Create rcube_user instance early to enable the following plugin hooks to use it
---
program/lib/MDB2/Driver/sqlite.php | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/program/lib/MDB2/Driver/sqlite.php b/program/lib/MDB2/Driver/sqlite.php
index e48bac3..c8c485d 100644
--- a/program/lib/MDB2/Driver/sqlite.php
+++ b/program/lib/MDB2/Driver/sqlite.php
@@ -412,12 +412,14 @@
'unable to establish a connection', __FUNCTION__);
}
+/*
if (!empty($this->dsn['charset'])) {
$result = $this->setCharset($this->dsn['charset'], $connection);
if (PEAR::isError($result)) {
return $result;
}
}
+*/
$this->connection = $connection;
$this->connected_dsn = $this->dsn;
--
Gitblit v1.9.1