From ba231428439a26b4e62a5ccde8caf85258fb46f7 Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 1 Jun 2024 14:35:35 -0400 Subject: [PATCH] Remove repeated delete client tags query when client is deleted --- post/client.php | 1 - 1 file changed, 1 deletion(-) diff --git a/post/client.php b/post/client.php index 24ec2ef0..e8cf5fad 100644 --- a/post/client.php +++ b/post/client.php @@ -210,7 +210,6 @@ if (isset($_GET['delete_client'])) { mysqli_query($mysqli, "DELETE FROM api_keys WHERE api_key_client_id = $client_id"); mysqli_query($mysqli, "DELETE FROM assets WHERE asset_client_id = $client_id"); mysqli_query($mysqli, "DELETE FROM certificates WHERE certificate_client_id = $client_id"); - mysqli_query($mysqli, "DELETE FROM client_tags WHERE client_tag_client_id = $client_id"); mysqli_query($mysqli, "DELETE FROM documents WHERE document_client_id = $client_id"); // Delete Contacts and contact tags