Fixed a wrong CacheEvent instanciation.
This commit is contained in:
@@ -192,7 +192,6 @@ class Module extends BaseAction implements EventSubscriberInterface
|
|||||||
protected function cacheClear(EventDispatcherInterface $dispatcher)
|
protected function cacheClear(EventDispatcherInterface $dispatcher)
|
||||||
{
|
{
|
||||||
$cacheEvent = new CacheEvent(
|
$cacheEvent = new CacheEvent(
|
||||||
$dispatcher,
|
|
||||||
$this->container->getParameter('kernel.cache_dir')
|
$this->container->getParameter('kernel.cache_dir')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user