diff --git a/api.php b/api.php index f787b2f..cda50f1 100644 --- a/api.php +++ b/api.php @@ -3491,7 +3491,6 @@ switch ($action) { // Reload for total count $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)]; if (!empty($errors)) $result['errors'] = $errors; echo json_encode($result);