1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/writefreely_ynh.git synced 2024-09-03 20:36:02 +02:00

removing not needed ynh_app_setting_get

This commit is contained in:
Yalh 2019-01-25 23:08:55 +01:00 committed by yalh76
parent b6f3d45170
commit 86cf81f26b
2 changed files with 0 additions and 25 deletions

View file

@ -28,23 +28,9 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get $app domain)
path_url=$(ynh_app_setting_get $app path)
port=$(ynh_app_setting_get $app port)
admin=$(ynh_app_setting_get $app admin)
is_public=$(ynh_app_setting_get $app is_public)
final_path=$(ynh_app_setting_get $app final_path)
db_name=$(ynh_app_setting_get $app db_name)
single_user=$(ynh_app_setting_get $app single_user)
site_name=$(ynh_app_setting_get $app site_name)
site_description=$(ynh_app_setting_get $app site_description)
open_registration=$(ynh_app_setting_get $app open_registration)
max_blogs=$(ynh_app_setting_get $app max_blogs)
federation=$(ynh_app_setting_get $app federation)
public_stats=$(ynh_app_setting_get $app public_stats)
private=$(ynh_app_setting_get $app private)
local_timeline=$(ynh_app_setting_get $app local_timeline)
#=================================================
# CHECK IF THE APP CAN BE RESTORED
#=================================================

View file

@ -16,23 +16,12 @@ source /usr/share/yunohost/helpers
app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get $app domain)
port=$(ynh_app_setting_get $app port)
path_url=$(ynh_app_setting_get $app path)
admin=$(ynh_app_setting_get $app admin)
is_public=$(ynh_app_setting_get $app is_public)
final_path=$(ynh_app_setting_get $app final_path)
#language=$(ynh_app_setting_get $app language)
db_name=$(ynh_app_setting_get $app db_name)
single_user=$(ynh_app_setting_get $app single_user)
site_name=$(ynh_app_setting_get $app site_name)
site_description=$(ynh_app_setting_get $app site_description)
open_registration=$(ynh_app_setting_get $app open_registration)
max_blogs=$(ynh_app_setting_get $app max_blogs)
federation=$(ynh_app_setting_get $app federation)
public_stats=$(ynh_app_setting_get $app public_stats)
private=$(ynh_app_setting_get $app private)
local_timeline=$(ynh_app_setting_get $app local_timeline)
#=================================================
# ENSURE DOWNWARD COMPATIBILITY