mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-22 10:56:31 +00:00
Add ability to disable a user.
This commit is contained in:
@@ -38,10 +38,10 @@ else {
|
||||
$user_uuid = check_str($_GET["id"]);
|
||||
|
||||
//get the username from v_users
|
||||
$sql = "";
|
||||
$sql .= "select * from v_users ";
|
||||
$sql = "select * from v_users ";
|
||||
$sql .= "where domain_uuid = '$domain_uuid' ";
|
||||
$sql .= "and user_uuid = '$user_uuid' ";
|
||||
$sql .= "and user_enabled = 'true' ";
|
||||
$prep_statement = $db->prepare(check_sql($sql));
|
||||
$prep_statement->execute();
|
||||
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||
|
||||
Reference in New Issue
Block a user