mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Multiple ORMs for all database
This commit is contained in:
@@ -199,10 +199,10 @@ class Session_Logger
|
||||
$module->setSession($session);
|
||||
$session->addModule($module);
|
||||
|
||||
$app['EM']->persist($module);
|
||||
$app['EM']->persist($session);
|
||||
$app['orm.em']->persist($module);
|
||||
$app['orm.em']->persist($session);
|
||||
|
||||
$app['EM']->flush();
|
||||
$app['orm.em']->flush();
|
||||
}
|
||||
|
||||
$appName = [
|
||||
|
Reference in New Issue
Block a user