1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00

Yet another fix.

This commit is contained in:
orhtej2 2023-11-02 17:50:34 +01:00
parent f6703b0ca1
commit 2135563362

View file

@ -21,11 +21,11 @@ upgrade_type=$(ynh_check_app_version_changed)
ynh_script_progression --message="Ensuring downward compatibility..." ynh_script_progression --message="Ensuring downward compatibility..."
# In older version, the admin setting was admin_user # In older version, the admin setting was admin_user
if [ -v "$admin" ]; then if [ -v admin ]; then
ynh_app_setting_delete --app=$app --key=admin ynh_app_setting_delete --app=$app --key=admin
fi fi
if [ -v "$admin_user" ]; then if [ -v admin_user ]; then
ynh_app_setting_delete --app=$app --key=admin_user ynh_app_setting_delete --app=$app --key=admin_user
fi fi