Add story-wz repository as a service

This commit is contained in:
Romain Neutron
2014-02-27 17:12:37 +01:00
parent 7c5038e9d7
commit fe54343f0e
8 changed files with 11 additions and 8 deletions

View File

@@ -462,7 +462,7 @@ class databox extends base
$n+=50;
}
foreach ($this->app['EM']->getRepository('Phraseanet:StoryWZ')->findByDatabox($this->app, $this) as $story) {
foreach ($this->app['repo.story-wz']->findByDatabox($this->app, $this) as $story) {
$this->app['EM']->remove($story);
}