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
This commit is contained in:
rvelices
2013-12-16 20:18:56 +00:00
parent 5c9b9c43f5
commit 29433f1db4
6 changed files with 23 additions and 16 deletions

View File

@@ -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',
)
)
)