mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
Ranks put in the global cache
git-svn-id: file:///svn/phpbb/trunk@3857 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
23efd0bbb4
commit
aaa2c6faab
1 changed files with 4 additions and 1 deletions
|
@ -186,6 +186,8 @@ if ($mode != '')
|
|||
}
|
||||
$db->sql_query($sql);
|
||||
|
||||
$cache->destroy('ranks');
|
||||
|
||||
trigger_error($message);
|
||||
|
||||
}
|
||||
|
@ -205,8 +207,9 @@ if ($mode != '')
|
|||
WHERE user_rank = $rank_id";
|
||||
$db->sql_query($sql);
|
||||
|
||||
trigger_error($user->lang['RANK_REMOVED']);
|
||||
$cache->destroy('ranks');
|
||||
|
||||
trigger_error($user->lang['RANK_REMOVED']);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue