diff options
author | rvelices <rv-github@modusoptimus.com> | 2013-12-16 20:18:56 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2013-12-16 20:18:56 +0000 |
commit | 29433f1db489462a86eb4c694674fb057c0ea5b2 (patch) | |
tree | eb6467ccd9dd1de696f195b1f00d32fa3306b3df /admin.php | |
parent | 5c9b9c43f549357b5c09c402f7e49a6006bb62bc (diff) |
invalidate_user_cache fix in web service method + do not invalidate user cache on every page hit on album list, photo etc ...
git-svn-id: http://piwigo.org/svn/trunk@25975 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin.php | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -263,20 +263,16 @@ if ( array( 'site_manager', // delete site 'site_update', // ?only POST - 'cat_list', // delete cat - 'cat_move', // ?only POST - 'cat_options', // ?only POST; public/private; lock/unlock - 'user_perm', - 'group_perm', - 'group_list', // delete group ) ) or ( !empty($_POST) and in_array($page['page'], array( - 'photo', 'album', // public/private; lock/unlock, permissions + 'cat_move', + 'cat_options', // public/private; lock/unlock 'batch_manager', // associate/dissociate; delete; set level 'user_list', // group assoc; user level + 'user_perm', ) ) ) |