mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-05-07 08:35:53 +03:00
issue #164 add new API method pwg.images.uploadCompleted
+ trigger ws_images_uploadCompleted when this API method is called + trigger empty_lounge (can be called at another moment with different effect)
This commit is contained in:
parent
0ee8772b9e
commit
fb84527e3b
5 changed files with 87 additions and 5 deletions
|
@ -1961,7 +1961,6 @@ INSERT IGNORE
|
|||
return;
|
||||
}
|
||||
$logger->debug(__FUNCTION__.', exec='.$exec_id.' wins the race and gets the token!');
|
||||
sleep(5);
|
||||
|
||||
$max_image_id = 0;
|
||||
|
||||
|
@ -2008,7 +2007,10 @@ DELETE
|
|||
conf_delete_param('empty_lounge_running');
|
||||
|
||||
$logger->debug(__FUNCTION__.', exec='.$exec_id.', ends');
|
||||
return count($rows);
|
||||
|
||||
trigger_notify('empty_lounge', $rows);
|
||||
|
||||
return $rows;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue