mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Move the MailQueue Action out of the get email loop on close Bulk Tickets this prevent unessessary mysql connections
This commit is contained in:
@@ -707,9 +707,8 @@ if (isset($_POST['bulk_close_tickets'])) {
|
||||
'body' => $body
|
||||
];
|
||||
}
|
||||
addToMailQueue($mysqli, $data);
|
||||
}
|
||||
|
||||
addToMailQueue($mysqli, $data);
|
||||
} // End Mail IF
|
||||
} // End Loop
|
||||
} // End Array Empty Check
|
||||
|
||||
Reference in New Issue
Block a user