Przeglądaj źródła

Supprimer une vérification qui ne sert à rien

magikcypress 8 lat temu
rodzic
commit
172f12b2b4
1 zmienionych plików z 0 dodań i 6 usunięć
  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