Removed unecessary argument in ftpadmin.php delete

It caused errors because it wasnt set in some cases, but was never
even checked by the invoked shell script.
This commit is contained in:
Patrick Marchand 2018-11-09 17:50:25 -05:00
parent d3be332ba4
commit 393851d4c6
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ if ($action=="add") {
} elseif ($action=="delete") {
sudoexec("ftpadmin.sh -a d -u $user_id -n $account -f /dev/null -p azertyuiop", $standard_output, $function_output);
sudoexec("ftpadmin.sh -a d -n $account -f /dev/null -p azertyuiop", $standard_output, $function_output);
$_SESSION['error'] = null;