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:
plegall 2012-01-17 00:17:39 +00:00
parent f7421e5789
commit b18e3c8a80
2 changed files with 2 additions and 3 deletions

View file

@ -292,6 +292,8 @@ SELECT
$update,
array('id' => $image_id)
);
delete_element_derivatives($image_id);
}
else
{