diff options
author | plegall <plg@piwigo.org> | 2012-01-17 00:17:39 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-01-17 00:17:39 +0000 |
commit | b18e3c8a803b15fc72f95791072220afb23f46bf (patch) | |
tree | d815b81e501c6b626f53c915764c71caa40d7ecf /admin/include/functions_upload.inc.php | |
parent | f7421e5789f6117ccab81ea53bf24d6cd77e95c7 (diff) |
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
Diffstat (limited to 'admin/include/functions_upload.inc.php')
-rw-r--r-- | admin/include/functions_upload.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/include/functions_upload.inc.php b/admin/include/functions_upload.inc.php index f53b2d09d..88440476a 100644 --- a/admin/include/functions_upload.inc.php +++ b/admin/include/functions_upload.inc.php @@ -292,6 +292,8 @@ SELECT $update, array('id' => $image_id) ); + + delete_element_derivatives($image_id); } else { |