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

upgrade: remove unused code

This commit is contained in:
Alexandre Aubin 2023-03-01 22:22:41 +01:00 committed by GitHub
parent d627cb81b6
commit 8b17548cc8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,9 +23,6 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
ynh_app_setting_delete --app=$app --key=is_public
fi
# If the admin is not defined, We can't upgrade this app
if [ -z "${admin:-}" ]; then
ynh_die --message="This app can't be upgraded from a very old version of the package. Please remove and reinstall Moodle"