mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
fixes #2341 force reload conf.send_piwigo_infos_last_notice to avoid double exec
This commit is contained in:
parent
8eae7bafa9
commit
c931118561
1 changed files with 5 additions and 0 deletions
|
@ -2444,6 +2444,11 @@ function send_piwigo_infos()
|
|||
return;
|
||||
}
|
||||
|
||||
// $conf['send_piwigo_infos_last_notice'] has been loaded in include/common, maybe
|
||||
// a few seconds earlier, we need a refreshed value from the database. Another
|
||||
// concurrent execution might have already performed send_piwigo_infos 3 seconds ago.
|
||||
load_conf_from_db('param = "send_piwigo_infos_last_notice"');
|
||||
|
||||
$do_send = false;
|
||||
if (isset($conf['send_piwigo_infos_last_notice']))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue