mirror of
https://github.com/YunoHost-Apps/dotclear2_ynh.git
synced 2024-09-03 18:26:29 +02:00
Merge branch 'testing' into new-system-permission
This commit is contained in:
commit
331a49e1a3
1 changed files with 6 additions and 0 deletions
|
@ -23,6 +23,7 @@ is_public=$(ynh_app_setting_get $app is_public)
|
|||
final_path=$(ynh_app_setting_get $app final_path)
|
||||
db_name=$(ynh_app_setting_get $app db_name)
|
||||
db_pwd=$(ynh_app_setting_get $app mysqlpwd)
|
||||
password=$(ynh_app_setting_get $app password)
|
||||
master_key=$(ynh_app_setting_get $app master_key)
|
||||
|
||||
skipped_uris=$(ynh_app_setting_get $app skipped_uris)
|
||||
|
@ -66,6 +67,11 @@ if [ ! -z $protected_uris ]; then
|
|||
ynh_app_setting_delete $app protected_uris
|
||||
fi
|
||||
|
||||
# If password exists, remove it
|
||||
if [ ! -z $password ]; then
|
||||
ynh_app_setting_delete $app password
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue