From 786017c2472067997239f7b225ed22fd24cab264 Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Tue, 10 Sep 2013 19:15:06 +0200 Subject: [PATCH] Register EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc. --- lib/db.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/db.php b/lib/db.php index bd67937cdd..b9505b88d8 100644 --- a/lib/db.php +++ b/lib/db.php @@ -124,6 +124,7 @@ class OC_DB { $connectionParams['port'] = $port; } $connectionParams['adapter'] = '\OC\DB\AdapterOCI8'; + $eventManager->addEventSubscriber(new \Doctrine\DBAL\Event\Listeners\OracleSessionInit); break; case 'mssql': $connectionParams = array(