aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2013-06-05 10:01:50 +0000
committerplegall <plg@piwigo.org>2013-06-05 10:01:50 +0000
commitc3e6883b6272999a303a6ce6e3e8ae096d3a6e4a (patch)
treee37479de45bad90a77769c75313ca6169249672a /include
parent83efb7b38a9f49b22b7947223e5f0e5db04b5fa1 (diff)
merge r23059 from branch 2.5 to trunk
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/trunk@23060 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include')
-rw-r--r--include/ws_functions.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 43ecffd07..53e166873 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -2668,6 +2668,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)