mirror of
https://github.com/YunoHost-Apps/invoiceninja5_ynh.git
synced 2024-09-03 19:26:23 +02:00
Use ynh_secure_remove
This commit is contained in:
parent
5cd1f84e1c
commit
eeb30a6489
1 changed files with 1 additions and 3 deletions
|
@ -133,9 +133,7 @@ ynh_script_progression --message="Upgrading the database..."
|
|||
pushd "$final_path"
|
||||
# Clear caches
|
||||
# https://github.com/invoiceninja/invoiceninja/issues/7397
|
||||
rm -fr bootstrap/cache/*
|
||||
rm -fr storage/framework/cache/*
|
||||
rm -fr storage/framework/sessions/*
|
||||
ynh_secure_remove bootstrap/cache/* storage/framework/cache/* storage/framework/sessions/*
|
||||
|
||||
# Run the database migrations
|
||||
php$phpversion artisan migrate --force --no-interaction --verbose
|
||||
|
|
Loading…
Add table
Reference in a new issue