From 35a44c2b2e3c0b2b032d000f4db919d0a7c597ac Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Wed, 12 Oct 2022 11:50:21 +0200 Subject: [PATCH] Fixed the cache cleanup in the update script. --- scripts/update-all.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/update-all.sh b/scripts/update-all.sh index e1a9415..17b5443 100755 --- a/scripts/update-all.sh +++ b/scripts/update-all.sh @@ -105,9 +105,9 @@ cd ../.. if [[ $forceClearCache -eq 1 ]]; then # Clear Laminas cache - php ./public/index.php orm:clear-cache:metadata - php ./public/index.php orm:clear-cache:query - php ./public/index.php orm:clear-cache:result + rm -rf data/cache/* + rm -rf data/DoctrineORMModule/Proxy/* + rm -rf data/LazyServices/Proxy/* # Clear Laminas cache touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade