mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 19:34:52 +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
|
'body' => $body
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
addToMailQueue($mysqli, $data);
|
|
||||||
}
|
}
|
||||||
|
addToMailQueue($mysqli, $data);
|
||||||
} // End Mail IF
|
} // End Mail IF
|
||||||
} // End Loop
|
} // End Loop
|
||||||
} // End Array Empty Check
|
} // End Array Empty Check
|
||||||
|
|||||||
Reference in New Issue
Block a user