Clear current environment caches on modules position update

This commit is contained in:
Jérôme Billiras
2014-04-23 16:48:38 +02:00
parent 5197afb87d
commit 87ae693c01
2 changed files with 3 additions and 1 deletions

View File

@@ -180,6 +180,8 @@ class Module extends BaseAction implements EventSubscriberInterface
public function updatePosition(UpdatePositionEvent $event)
{
$this->genericUpdatePosition(ModuleQuery::create(), $event);
$this->cacheClear($event->getDispatcher());
}
protected function cacheClear(EventDispatcherInterface $dispatcher)