Delete cache folder on upgrade

- Delete cache folder instead of calling clear cache command
- Calling clear cache command had problems when there were updates to the autoload.
This commit is contained in:
Clemente Raposo 2021-09-24 14:24:56 +01:00
parent d27a96fa34
commit 53101bb4cf
2 changed files with 28 additions and 20 deletions

View file

@ -6,6 +6,7 @@ services:
public: false # Allows optimizing the container by removing unused services.
bind:
$projectDir: '%kernel.project_dir%'
$cacheDir: '%kernel.cache_dir%'
$upgradePackageDir: '%packages.upgrade.dir%'
$legacyDir: '%legacy.dir%'
$legacyPath: '%legacy.path%'