diff options
Diffstat (limited to 'lib/private/DB/SQLiteSessionInit.php')
-rw-r--r-- | lib/private/DB/SQLiteSessionInit.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/private/DB/SQLiteSessionInit.php b/lib/private/DB/SQLiteSessionInit.php index 0c53a0587f0..924a3b2758c 100644 --- a/lib/private/DB/SQLiteSessionInit.php +++ b/lib/private/DB/SQLiteSessionInit.php @@ -60,8 +60,9 @@ class SQLiteSessionInit implements EventSubscriber { $sensitive = $this->caseSensitiveLike ? 'true' : 'false'; $args->getConnection()->executeUpdate('PRAGMA case_sensitive_like = ' . $sensitive); $args->getConnection()->executeUpdate('PRAGMA journal_mode = ' . $this->journalMode); - /** @var \PDO $pdo */ - $pdo = $args->getConnection()->getWrappedConnection(); + /** @var \Doctrine\DBAL\Driver\PDO\Connection $connection */ + $connection = $args->getConnection()->getWrappedConnection(); + $pdo = $connection->getWrappedConnection(); $pdo->sqliteCreateFunction('md5', 'md5', 1); } |