mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 03:39:57 +03:00
feature 2548 (multiple size): better delete derivatives in add_uploaded_file
function when performing an update of a photo. git-svn-id: http://piwigo.org/svn/trunk@12907 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
f7421e5789
commit
b18e3c8a80
2 changed files with 2 additions and 3 deletions
|
@ -292,6 +292,8 @@ SELECT
|
|||
$update,
|
||||
array('id' => $image_id)
|
||||
);
|
||||
|
||||
delete_element_derivatives($image_id);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue