mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update user_delete.php
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
}
|
||||
|
||||
//delete the groups the user is assigned to
|
||||
$sql = "delete from v_group_users ";
|
||||
$sql = "delete from v_user_groups ";
|
||||
$sql .= "where user_uuid = '".$user_uuid."' ";
|
||||
$sql .= "and domain_uuid = '".$domain_uuid."' ";
|
||||
if (!$db->exec($sql)) {
|
||||
@@ -105,4 +105,4 @@
|
||||
message::add($text['message-delete']);
|
||||
header("Location: users.php");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user