mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
unprotected_uris is deleted by the core
This commit is contained in:
parent
fa5d488abf
commit
71c9cbf607
1 changed files with 0 additions and 9 deletions
|
@ -27,8 +27,6 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
fpm_footprint=$(ynh_app_setting_get --app=$app --key=fpm_footprint)
|
||||
fpm_usage=$(ynh_app_setting_get --app=$app --key=fpm_usage)
|
||||
|
||||
unprotected_uris=$(ynh_app_setting_get $app unprotected_uris)
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
|
@ -67,13 +65,6 @@ if [ -z "$fpm_usage" ]; then
|
|||
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
|
||||
fi
|
||||
|
||||
# Delete unprotected_uris if it exists
|
||||
if [ -n "$unprotected_uris" ]; then
|
||||
ynh_app_setting_delete $app unprotected_uris
|
||||
# Delete unprotected_uris implicitly remove visitors, add it again.
|
||||
ynh_permission_update --permission "main" --add "visitors"
|
||||
fi
|
||||
|
||||
# If phpversion doesn't exist, create it
|
||||
if [ -z "$phpversion" ]; then
|
||||
phpversion="$YNH_PHP_VERSION"
|
||||
|
|
Loading…
Add table
Reference in a new issue