From 58d51183c61623eb91dec6a3ce2a39892124f5d5 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 5 Jun 2013 10:01:05 +0000 Subject: bug 2917 fixed: invalidate user cache each time pwg.images.delete is called, to avoid blocking errors on gallery side if deleted photo is set as album thumbnail. git-svn-id: http://piwigo.org/svn/branches/2.5@23059 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/ws_functions.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php index 73f8e9942..faba3cf2a 100644 --- a/include/ws_functions.inc.php +++ b/include/ws_functions.inc.php @@ -2697,6 +2697,7 @@ function ws_images_delete($params, &$service) include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); delete_elements($image_ids, true); + invalidate_user_cache(); } function ws_add_image_category_relations($image_id, $categories_string, $replace_mode=false) -- cgit v1.2.3