summaryrefslogtreecommitdiffstats
path: root/lib/private/db/connectionfactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/db/connectionfactory.php')
-rw-r--r--lib/private/db/connectionfactory.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/db/connectionfactory.php b/lib/private/db/connectionfactory.php
index 8fd26bdc947..589a1c0affd 100644
--- a/lib/private/db/connectionfactory.php
+++ b/lib/private/db/connectionfactory.php
@@ -89,6 +89,9 @@ class ConnectionFactory {
case 'oci':
$eventManager->addEventSubscriber(new \Doctrine\DBAL\Event\Listeners\OracleSessionInit);
break;
+ case 'sqlite3':
+ $eventManager->addEventSubscriber(new SQLiteSessionInit);
+ break;
}
$connection = \Doctrine\DBAL\DriverManager::getConnection(
array_merge($this->getDefaultConnectionParams($type), $additionalConnectionParams),