mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02: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:
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user