Update mailing-send.php

The delay between email annouunced in prompt is not right : when the delay is called, usleep takes useconds as argument and MAILING_DELAY is multiplied by 1000000, but prompt information doesn't have to.
This commit is contained in:
battosai30 2023-03-28 09:14:27 +02:00 committed by GitHub
parent 634eabaa8d
commit 44e01aeee8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -87,7 +87,7 @@ if (!isModEnabled('mailing')) {
print "***** ".$script_file." (".$version.") pid=".dol_getmypid()." *****\n";
if (!empty($conf->global->MAILING_DELAY)) {
print 'A delay of '.((float) $conf->global->MAILING_DELAY * 1000000).' seconds has been set between each email'."\n";
print 'A delay of '.((float) $conf->global->MAILING_DELAY).' seconds has been set between each email'."\n";
}
if ($conf->global->MAILING_LIMIT_SENDBYCLI == '-1') {