mirror of https://github.com/itflow-org/itflow
Move the MailQueue Action out of the get email loop on close Bulk Tickets this prevent unessessary mysql connections
This commit is contained in:
parent
e524f1ce7c
commit
da98f84774
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue