Add a namespace to Phraseanet doctrine entities

This commit is contained in:
Romain Neutron
2014-02-18 18:53:38 +01:00
parent 094b3f5c9d
commit 2de870c3f9
120 changed files with 444 additions and 441 deletions

View File

@@ -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);
}