1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gotosocial_ynh.git synced 2024-09-03 19:16:06 +02:00

fix ynh_app_setting_get for accounts settings

This commit is contained in:
OniriCorpe 2022-07-04 18:27:30 +02:00
parent eceb3455e7
commit f6dad8292a

View file

@ -30,10 +30,15 @@ db_pwd=$(ynh_app_setting_get --app="$app" --key=db_pwd)
datadir=$(ynh_app_setting_get --app="$app" --key=datadir) datadir=$(ynh_app_setting_get --app="$app" --key=datadir)
# reliquat <0.3.7~ynh1
registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open) registration_open=$(ynh_app_setting_get --app="$app" --key=registration_open)
registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval) registration_approval=$(ynh_app_setting_get --app="$app" --key=registration_approval)
registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason) registration_reason=$(ynh_app_setting_get --app="$app" --key=registration_reason)
accounts_registration_open=$(ynh_app_setting_get --app="$app" --key=accounts_registration_open)
accounts_approval_required=$(ynh_app_setting_get --app="$app" --key=accounts_approval_required)
accounts_reason_required=$(ynh_app_setting_get --app="$app" --key=accounts_reason_required)
media_image_max_size=$(ynh_app_setting_get --app="$app" --key=media_image_max_size) media_image_max_size=$(ynh_app_setting_get --app="$app" --key=media_image_max_size)
media_video_max_size=$(ynh_app_setting_get --app="$app" --key=media_video_max_size) media_video_max_size=$(ynh_app_setting_get --app="$app" --key=media_video_max_size)
media_description_min_chars=$(ynh_app_setting_get --app="$app" --key=media_description_min_chars) media_description_min_chars=$(ynh_app_setting_get --app="$app" --key=media_description_min_chars)