fix cs
This commit is contained in:
@@ -27,7 +27,6 @@ use Symfony\Component\Filesystem\Filesystem;
|
||||
use Thelia\Core\Event\Cache\CacheEvent;
|
||||
use Thelia\Core\Event\TheliaEvents;
|
||||
|
||||
|
||||
/**
|
||||
* Class Cache
|
||||
* @package Thelia\Action
|
||||
@@ -42,7 +41,6 @@ class Cache extends BaseAction implements EventSubscriberInterface
|
||||
|
||||
$directoryBrowser = new \DirectoryIterator($dir);
|
||||
|
||||
|
||||
$fs = new Filesystem();
|
||||
$fs->remove($dir);
|
||||
|
||||
@@ -74,4 +72,4 @@ class Cache extends BaseAction implements EventSubscriberInterface
|
||||
TheliaEvents::CACHE_CLEAR => array('cacheClear', 128)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user