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:
parent
d627cb81b6
commit
8b17548cc8
1 changed files with 0 additions and 3 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue