aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-07-03 20:19:47 +0000
committerrvelices <rv-github@modusoptimus.com>2012-07-03 20:19:47 +0000
commit0b59bf7465cd4f0488476237de63e0981a94bef9 (patch)
treef87779de71fb2887cbbc4ad70b526b3304b0ef90
parentf3d8517c1afe30d54f05051f0b18c2707e2f5303 (diff)
user_cache was not invalidated on photo deletion
git-svn-id: http://piwigo.org/svn/trunk@16334 68402e56-0260-453c-a942-63ccdbb3a9ee
-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?
//