Rename watchers to CCs in the database and code: database 4.2.8 renames ticket_watchers to ticket_ccs with its columns and index, functions, settings, form and post names, the Add CC modal file, JavaScript IDs, the email preview key and the To line group follow; the ticket email parser waits while a database update is pending instead of flagging email it cannot take; 26.12.3 changelog updated

This commit is contained in:
johnnyq
2026-11-30 14:01:11 -05:00
parent ee3f31ff05
commit b8db50adfa
26 changed files with 253 additions and 189 deletions

View File

@@ -445,7 +445,7 @@ if (isset($_GET['delete_client'])) {
mysqli_query($mysqli, "DELETE FROM software WHERE software_client_id = $client_id");
// Delete tickets and everything that is only theirs - attachments and the pictures in their text, files and all,
// tasks, watchers and history too (functions/ticket.php)
// tasks, CCs and history too (functions/ticket.php)
$sql = mysqli_query($mysqli, "SELECT ticket_id FROM tickets WHERE ticket_client_id = $client_id");
while($row = mysqli_fetch_assoc($sql)) {
ticketDeleteForGood(intval($row['ticket_id']));