mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Add a namespace to Phraseanet doctrine entities
This commit is contained in:
@@ -454,11 +454,11 @@ class databox extends base
|
||||
$n+=50;
|
||||
}
|
||||
|
||||
foreach ($this->app['EM']->getRepository('Alchemy\Phrasea\Model\Entities\StoryWZ')->findByDatabox($this->app, $this) as $story) {
|
||||
foreach ($this->app['EM']->getRepository('Phraseanet:StoryWZ')->findByDatabox($this->app, $this) as $story) {
|
||||
$this->app['EM']->remove($story);
|
||||
}
|
||||
|
||||
foreach ($this->app['EM']->getRepository('Alchemy\Phrasea\Model\Entities\BasketElement')->findElementsByDatabox($this) as $element) {
|
||||
foreach ($this->app['EM']->getRepository('Phraseanet:BasketElement')->findElementsByDatabox($this) as $element) {
|
||||
$this->app['EM']->remove($element);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user