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:
1
api.php
1
api.php
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user