Update user_delete.php

This commit is contained in:
FusionPBX 2019-02-09 08:10:48 -07:00 committed by GitHub
parent 5b0e4e5684
commit 655aa947d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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