From fea2a4efd1ad085def7cf84cc444325d0815b62e Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 24 May 2014 14:18:04 +0000 Subject: feature 3077 : improve cache invalidation - add "lastmodified" automatic field for categories, groups, users, tags and images tables - provide a "server key" to the client cache manager git-svn-id: http://piwigo.org/svn/trunk@28532 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/picture_modify.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'admin/picture_modify.php') diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 1b99e5f55..370d64caf 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -408,7 +408,11 @@ SELECT id ;'; $associate_options_selected = query2array($query, null, 'id'); -$template->assign(compact('associate_options_selected', 'represent_options_selected')); +$template->assign(array( + 'associate_options_selected' => $associate_options_selected, + 'represent_options_selected' => $represent_options_selected, + 'CACHE_KEYS' => get_admin_client_cache_keys(array('tags', 'categories')), + )); trigger_action('loc_end_picture_modify'); -- cgit v1.2.3