aboutsummaryrefslogtreecommitdiffstats
path: root/admin.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2013-12-16 20:18:56 +0000
committerrvelices <rv-github@modusoptimus.com>2013-12-16 20:18:56 +0000
commit29433f1db489462a86eb4c694674fb057c0ea5b2 (patch)
treeeb6467ccd9dd1de696f195b1f00d32fa3306b3df /admin.php
parent5c9b9c43f549357b5c09c402f7e49a6006bb62bc (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 'admin.php')
-rw-r--r--admin.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/admin.php b/admin.php
index 675948cad..9b5327b2a 100644
--- a/admin.php
+++ b/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',
)
)
)