mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
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:
10
admin.php
10
admin.php
@@ -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',
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user