mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02: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:
@@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user