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

Apply suggestions from code review

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
Tagada 2023-07-24 19:16:41 +02:00 committed by Salamandar
parent 0ecb077e4d
commit 8b421ae742
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ name = "Mediawiki configuration"
yes = true yes = true
no = false no = false
help = "Set to 'true' to allow account creation." help = "Set to 'true' to allow account creation."
bind = "create_account:__INSTALL_DIR__/LocalSettings.php" bind = "createaccount:__INSTALL_DIR__/LocalSettings.php"
[main.php_fpm_config] [main.php_fpm_config]
name = "PHP-FPM configuration" name = "PHP-FPM configuration"

View file

@ -35,7 +35,7 @@ if [ -z "${fpm_usage:-}" ]; then
fi fi
# If create_account doesn't exist, create it # If create_account doesn't exist, create it
if [ -z "$create_account" ]; then if [ -z "${create_account:-}" ]; then
create_account=false create_account=false
ynh_app_setting_set --app=$app --key=create_account --value=$create_account ynh_app_setting_set --app=$app --key=create_account --value=$create_account
fi fi