chg: [scripts] replaced zendframework by Laminas. !minor

pull/433/head
Cédric Bonhomme 2022-06-08 14:29:55 +02:00
parent 01ce8df10a
commit a2dfb1a41c
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 62 additions and 63 deletions

View File

@ -106,18 +106,17 @@ cd ../..
./scripts/compile_translations.sh ./scripts/compile_translations.sh
if [[ $forceClearCache -eq 1 ]]; then if [[ $forceClearCache -eq 1 ]]; then
# Clear doctrine cache # Clear Laminas cache
# Move to Monarc/Core Module.php
php ./public/index.php orm:clear-cache:metadata php ./public/index.php orm:clear-cache:metadata
php ./public/index.php orm:clear-cache:query php ./public/index.php orm:clear-cache:query
php ./public/index.php orm:clear-cache:result php ./public/index.php orm:clear-cache:result
# Clear ZF2 cache # Clear Laminas cache
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade
fi fi
if [[ $forceClearCache -eq 0 && $bypass -eq 0 ]]; then if [[ $forceClearCache -eq 0 && $bypass -eq 0 ]]; then
# Clear ZF2 cache # Clear Laminas cache
touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade touch ./data/cache/upgrade && chmod 777 ./data/cache/upgrade
fi fi