From b18e3c8a803b15fc72f95791072220afb23f46bf Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 17 Jan 2012 00:17:39 +0000 Subject: 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 --- include/ws_functions.inc.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/ws_functions.inc.php') diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 7216fc31c..895e08d9c 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -1755,9 +1755,6 @@ SELECT $params['image_id'], $image['md5sum'] // we force the md5sum to remain the same ); - - include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); - delete_element_derivatives($params['image_id']); } function ws_images_add($params, &$service) -- cgit v1.2.3