Remove Associated Deletions as these are handled by the database cascade deletions

This commit is contained in:
johnnyq
2025-03-14 18:37:56 -04:00
parent 09fbe4e4ad
commit 97f92e508e
11 changed files with 3 additions and 125 deletions

View File

@@ -201,10 +201,6 @@ if (isset($_GET['delete_software'])) {
mysqli_query($mysqli,"DELETE FROM software WHERE software_id = $software_id");
// Remove Software Relations
mysqli_query($mysqli,"DELETE FROM software_contacts WHERE software_id = $software_id");
mysqli_query($mysqli,"DELETE FROM software_assets WHERE software_id = $software_id");
//Logging
logAction("Software", "Delete", "$session_name deleted software $software_name and removed all device/user license associations", $client_id);