public function disableRevisionListener()
    {
        foreach ($this->em->getEventManager()->getListeners() as $event => $listeners) {
            foreach ($listeners as $hash => $listener) {
                if ($listener instanceof RevisionListener) {
                    $this->revisionListener = $listener;
                    break 2;
                }
            }
        }

        if ($this->revisionListener) {
            $this->revisionListener->setActive(false);
        }
    }