aboutsummaryrefslogtreecommitdiffstats
path: root/include/ws_functions.inc.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-01-17 00:17:39 +0000
committerplegall <plg@piwigo.org>2012-01-17 00:17:39 +0000
commitb18e3c8a803b15fc72f95791072220afb23f46bf (patch)
treed815b81e501c6b626f53c915764c71caa40d7ecf /include/ws_functions.inc.php
parentf7421e5789f6117ccab81ea53bf24d6cd77e95c7 (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 'include/ws_functions.inc.php')
-rw-r--r--include/ws_functions.inc.php3
1 files changed, 0 insertions, 3 deletions
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)