mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Multiple ORMs for all database
This commit is contained in:
@@ -12,7 +12,7 @@ class FeedEntryProcessor extends AbstractProcessor implements ProcessorInterface
|
||||
return null;
|
||||
}
|
||||
|
||||
$entry = $this->app['EM']->getRepository('Phraseanet::Entry')->find($data->{"entry_id"});
|
||||
$entry = $this->app['orm.em']->getRepository('Phraseanet::Entry')->find($data->{"entry_id"});
|
||||
|
||||
if (null === $entry) {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user