Browse Source

Supprimer une vérification qui ne sert à rien

magikcypress 8 năm trước cách đây
mục cha
commit
172f12b2b4
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      scripts/upgrade

+ 0 - 6
scripts/upgrade

@@ -18,12 +18,6 @@ language=$(ynh_app_setting_get "$app" language)
 
 CHECK_PATH	# Checks and corrects the syntax of the path.
 
-# Check if admin is not null
-if [[ "$admin" = "" || "$is_public" = "" || "$language" = "" ]]; then
-    echo "Unable to upgrade, please contact support"
-    ynh_die
-fi
-
 root_pwd=$(sudo cat /etc/yunohost/mysql)
 
 final_path=/var/www/$app