From e529e1bfc1413afa7e2a22b9823d39b083b7dc99 Mon Sep 17 00:00:00 2001 From: Gofannon <17145502+Gofannon@users.noreply.github.com> Date: Thu, 13 Sep 2018 22:49:14 +0200 Subject: [PATCH] [enh] remove unused code --- scripts/remove | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/scripts/remove b/scripts/remove index ddc4547..37d1c83 100644 --- a/scripts/remove +++ b/scripts/remove @@ -50,16 +50,6 @@ ynh_remove_nginx_config # Remove the dedicated php-fpm config ynh_remove_fpm_config -#================================================= -# CLOSE A PORT -#================================================= - -if yunohost firewall list | grep -q "\- $port$" -then - echo "Close port $port" - yunohost firewall disallow TCP $port 2>&1 -fi - #================================================= # SPECIFIC REMOVE #=================================================