]> source.dussan.org Git - nextcloud-server.git/commitdiff
Register EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc.
authorAndreas Fischer <bantu@owncloud.com>
Tue, 10 Sep 2013 17:15:06 +0000 (19:15 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Thu, 12 Sep 2013 21:43:20 +0000 (23:43 +0200)
lib/db.php

index bd67937cdd8bc82910b9a5df42b097eefd74d1b5..b9505b88d8274769ec5d58d008a6d50a7d83e142 100644 (file)
@@ -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(