:+1: will try that this evening to get this closed. 

Mit freundlichen Grüßen

Maximilian Berghoff


---------------------------------------
Maximilian Berghoff
Wiesenstraße 44
91617 Oberdachstetten 

Mail: Maximilian.berghoff@gmx.de
Mobile: +49 151 84625096

> On 27.04.2014, at 13:32, David Buchmann <notifications@github.com> wrote:
> 
> In lib/Doctrine/ODM/PHPCR/UnitOfWork.php:
> 
> > @@ -3179,6 +3178,12 @@ public function removeTranslation($document, $locale)
> >          $oid = spl_object_hash($document);
> >          $this->documentTranslations[$oid][$locale] = null;
> >          $this->setLocale($document, $metadata, null);
> > +
> > +        $this->eventManagerService->addEventToPipe(
> you could raise the event directly at https://github.com/doctrine/phpcr-odm/blob/master/lib/Doctrine/ODM/PHPCR/UnitOfWork.php#L2954
> 
> then we can get rid of the whole pipe idea and just have a thing to immediately trigger event and callback.
> 
> —
> Reply to this email directly or view it on GitHub.