From d7a1ee188d718445c2275ed51288b230b3a94629 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 3 Jul 2012 20:21:09 +0000 Subject: 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 --- admin/picture_modify.php | 1 + 1 file changed, 1 insertion(+) 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