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

Do not use 'yunohost app setting'

This commit is contained in:
yalh76 2021-03-14 00:48:18 +01:00
parent ede99187d0
commit 7b26efa6c7

View file

@ -293,7 +293,7 @@ ynh_cleanup_php () {
local required_php_versions=""
for installed_app in $installed_apps
do
local installed_app_php_version=$(yunohost app setting $installed_app php_version)
local installed_app_php_version=$(ynh_app_setting_get --app=$installed_app --key="php_version")
if [[ $installed_app_php_version ]]
then
required_php_versions="${installed_app_php_version}\n${required_php_versions}"