aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-07-03 20:21:09 +0000
committerrvelices <rv-github@modusoptimus.com>2012-07-03 20:21:09 +0000
commitd7a1ee188d718445c2275ed51288b230b3a94629 (patch)
tree2e569459cfa42cdd45ceec18635a828afa06dd6a /admin
parent812ec7aeeecfabaf88f0084236a0979f50749899 (diff)
user_cache was not invalidated on photo deletion (merge from trunk to branch 2.4)
git-svn-id: http://piwigo.org/svn/branches/2.4@16335 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--admin/picture_modify.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index db8e08aae..acc7c010c 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -53,6 +53,7 @@ if (isset($_GET['delete']))
check_pwg_token();
delete_elements(array($_GET['image_id']), true);
+ invalidate_user_cache();
// where to redirect the user now?
//