From 0b59bf7465cd4f0488476237de63e0981a94bef9 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 3 Jul 2012 20:19:47 +0000 Subject: user_cache was not invalidated on photo deletion git-svn-id: http://piwigo.org/svn/trunk@16334 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/picture_modify.php | 1 + 1 file changed, 1 insertion(+) (limited to 'admin/picture_modify.php') 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? // -- cgit v1.2.3