diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-04-26 02:01:36 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-04-26 02:01:36 +0000 |
commit | bd73ae2b2d6e32feb66d4cf0a86680116a59688f (patch) | |
tree | 78bb637236526a8aff3668be4b80b6f9c5813700 /admin.php | |
parent | 657b7e814ecc392cd10734d7d6aa573d0ed449d9 (diff) |
merge revision 1978 from trunk to branch-1_7
invalidation of the users cache done in a function and an action is triggered
git-svn-id: http://piwigo.org/svn/branches/branch-1_7@1979 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin.php')
-rw-r--r-- | admin.php | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -154,7 +154,6 @@ if (count($page['infos']) != 0) } $template->parse('admin'); -include(PHPWG_ROOT_PATH.'include/page_tail.php'); // +-----------------------------------------------------------------------+ // | order permission refreshment | @@ -179,11 +178,8 @@ if ( ) ) { - $query = ' -UPDATE '.USER_CACHE_TABLE.' - SET need_update = \'true\' -;'; - pwg_query($query); + invalidate_user_cache(); } +include(PHPWG_ROOT_PATH.'include/page_tail.php'); ?> |