forked from evolix/evoadmin-web
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:
parent
d3be332ba4
commit
393851d4c6
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue