Update groupdelete.php

This commit is contained in:
FusionPBX 2019-02-09 08:12:26 -07:00 committed by GitHub
parent dbf9809140
commit 6f06ae4445
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -62,8 +62,8 @@
}
unset ($prep_statement);
//delete the group users
$sql = "delete from v_group_users ";
//delete the user groups
$sql = "delete from v_user_groups ";
$sql .= "where group_uuid = '".$group_uuid."' ";
if (!$db->exec($sql)) {
$error = $db->errorInfo();
@ -95,4 +95,4 @@
message::add($text['message-delete']);
header("Location: groups.php");
?>
?>