From 57aeeb840526f5c988c86111a6d62f62441548c2 Mon Sep 17 00:00:00 2001 From: Sebastian Gumprich Date: Tue, 26 Jul 2022 13:32:18 +0200 Subject: [PATCH] fix secure remove usage --- scripts/upgrade | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index e089a49..4307400 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -133,7 +133,9 @@ ynh_script_progression --message="Upgrading the database..." pushd "$final_path" # Clear caches # https://github.com/invoiceninja/invoiceninja/issues/7397 - ynh_secure_remove bootstrap/cache/* storage/framework/cache/* storage/framework/sessions/* + ynh_secure_remove --file=bootstrap/cache/* + ynh_secure_remove --file=storage/framework/cache/* + ynh_secure_remove --file=storage/framework/sessions/* # Run the database migrations php$phpversion artisan migrate --force --no-interaction --verbose