Update user_delete.php
This commit is contained in:
parent
5b0e4e5684
commit
655aa947d3
|
|
@ -83,7 +83,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
//delete the groups the user is assigned to
|
//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 .= "where user_uuid = '".$user_uuid."' ";
|
||||||
$sql .= "and domain_uuid = '".$domain_uuid."' ";
|
$sql .= "and domain_uuid = '".$domain_uuid."' ";
|
||||||
if (!$db->exec($sql)) {
|
if (!$db->exec($sql)) {
|
||||||
|
|
@ -105,4 +105,4 @@
|
||||||
message::add($text['message-delete']);
|
message::add($text['message-delete']);
|
||||||
header("Location: users.php");
|
header("Location: users.php");
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue