modifs.mineures sans commentaires

This commit is contained in:
Jephté Clain 2024-07-04 07:44:15 +04:00
parent 2a7793979b
commit 86a49f98e2
1 changed files with 2 additions and 2 deletions

View File

@ -516,7 +516,7 @@ EOT;
]);
if ($manageTransactions && $commitThreshold !== null) {
$commitThreshold--;
if ($commitThreshold == 0) {
if ($commitThreshold <= 0) {
$db->commit();
$db->beginTransaction();
$commitThreshold = $channel->getEachCommitThreshold();
@ -579,7 +579,7 @@ EOT;
]);
if ($manageTransactions && $commitThreshold !== null) {
$commitThreshold--;
if ($commitThreshold == 0) {
if ($commitThreshold <= 0) {
$db->commit();
$db->beginTransaction();
$commitThreshold = $channel->getEachCommitThreshold();