Update user_delete.php

This commit is contained in:
FusionPBX
2019-02-09 08:10:48 -07:00
committed by GitHub
parent 5a9096a47c
commit f725d2f5c7

View File

@@ -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");
?>
?>