aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-09-10 19:15:06 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-09-12 23:43:20 +0200
commit786017c2472067997239f7b225ed22fd24cab264 (patch)
treeffc11d3b34d02e38dfdfe3cccac12bdd6c055091
parent7f07d737f85fcf511219f44d5369b352b9f0e067 (diff)
downloadnextcloud-server-786017c2472067997239f7b225ed22fd24cab264.tar.gz
nextcloud-server-786017c2472067997239f7b225ed22fd24cab264.zip
Register EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc.
-rw-r--r--lib/db.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/db.php b/lib/db.php
index bd67937cdd8..b9505b88d82 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(