path don't need to be stored

This commit is contained in:
Maniack Crudelis 2018-07-20 13:48:49 +02:00 committed by GitHub
parent 0a717b511f
commit b704e1cbcb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -73,8 +73,6 @@ then
# Set global variables for nginx helper # Set global variables for nginx helper
domain="$old_domain" domain="$old_domain"
path_url="$new_path" path_url="$new_path"
# Store path_url setting
ynh_app_setting_set $app path "$path_url"
# Create a dedicated nginx config # Create a dedicated nginx config
ynh_add_nginx_config ynh_add_nginx_config
if [ "$path_url" != "/" ] if [ "$path_url" != "/" ]