Register EventSubscriber that resets Oracle's NLS_DATE_FORMAT etc.

This commit is contained in:
Andreas Fischer 2013-09-10 19:15:06 +02:00
parent 7f07d737f8
commit 786017c247
1 changed files with 1 additions and 0 deletions

View 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(