mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-05 19:23:49 +00:00
Update groupdelete.php
This commit is contained in:
@@ -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");
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user