user_cache was not invalidated on photo deletion

git-svn-id: http://piwigo.org/svn/trunk@16334 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2012-07-03 20:19:47 +00:00
commit 0b59bf7465

View file

@ -53,6 +53,7 @@ if (isset($_GET['delete']))
check_pwg_token(); check_pwg_token();
delete_elements(array($_GET['image_id']), true); delete_elements(array($_GET['image_id']), true);
invalidate_user_cache();
// where to redirect the user now? // where to redirect the user now?
// //