Update user.php
This commit is contained in:
parent
b4cfab5af3
commit
58036f1b39
1 changed files with 0 additions and 19 deletions
|
|
@ -116,25 +116,6 @@ if ($action == 'set_default') {
|
|||
} else {
|
||||
dol_print_error($db);
|
||||
}
|
||||
} elseif ($action == 'sethideexternaluser') {
|
||||
//Set hide external user into combox or select
|
||||
$status = GETPOST('status', 'alpha');
|
||||
if (dolibarr_set_const($db, "USER_HIDE_EXTERNAL_IN_COMBOBOX", $status, 'chaine', 0, '', $conf->entity) > 0) {
|
||||
header("Location: " . $_SERVER["PHP_SELF"]);
|
||||
exit;
|
||||
} else {
|
||||
dol_print_error($db);
|
||||
}
|
||||
} elseif ($action == 'sethidenonemployeeuser') {
|
||||
//Set hide non employee user into combox or select
|
||||
$status = GETPOST('status', 'alpha');
|
||||
|
||||
if (dolibarr_set_const($db, "USER_HIDE_NONEMPLOYEE_IN_COMBOBOX", $status, 'chaine', 0, '', $conf->entity) > 0) {
|
||||
header("Location: ".$_SERVER["PHP_SELF"]);
|
||||
exit;
|
||||
} else {
|
||||
dol_print_error($db);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue