mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-12 19:53:03 +02:00
fix admin call to invalidate_user_cache (done less often)
git-svn-id: http://piwigo.org/svn/trunk@9127 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -205,15 +205,15 @@ if (
|
||||
'cat_options', // ?only POST; public/private; lock/unlock
|
||||
'cat_perm', // ?only POST
|
||||
'picture_modify', // ?only POST; associate/dissociate
|
||||
'user_list', // ?only POST; group assoc
|
||||
'user_perm',
|
||||
'group_perm',
|
||||
'group_list', // delete group
|
||||
)
|
||||
)
|
||||
or ( isset($_POST) and in_array($page['page'],
|
||||
or ( !empty($_POST) and in_array($page['page'],
|
||||
array(
|
||||
'batch_manager', // associate/dissociate; delete; set level
|
||||
'user_list', // group assoc; user level
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user