Poista ticket_fetch changelog-kirjaus

Sähköpostien haku ei ole muutostoiminto eikä kuulu muutoslokiin.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-13 09:06:45 +02:00
parent 0c9a60a90b
commit 6bbd224104

View File

@@ -3491,7 +3491,6 @@ switch ($action) {
// Reload for total count // Reload for total count
$allTickets = dbLoadTickets($companyId); $allTickets = dbLoadTickets($companyId);
dbAddLog($companyId, currentUser(), 'ticket_fetch', '', '', "Haettu sähköpostit: {$newCount} uutta tikettiä, {$threadedCount} ketjutettu");
$result = ['success' => true, 'new_tickets' => $newCount, 'threaded' => $threadedCount, 'total' => count($allTickets)]; $result = ['success' => true, 'new_tickets' => $newCount, 'threaded' => $threadedCount, 'total' => count($allTickets)];
if (!empty($errors)) $result['errors'] = $errors; if (!empty($errors)) $result['errors'] = $errors;
echo json_encode($result); echo json_encode($result);