Quellcode durchsuchen

Supprimer une vérification qui ne sert à rien

magikcypress vor 8 Jahren
Ursprung
Commit
172f12b2b4
1 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
  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