mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
r453
чистка кеша при смене звания git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@453 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
1c0d6a8a35
commit
b16cb96b54
2 changed files with 3 additions and 1 deletions
|
@ -317,6 +317,8 @@ class ajax_common
|
|||
}
|
||||
|
||||
DB()->query("UPDATE ". BB_USERS ." SET user_rank = $rank_id WHERE user_id = $user_id LIMIT 1");
|
||||
|
||||
cache_rm_user_sessions($user_id);
|
||||
|
||||
$this->response['html'] = ($rank_id != 0) ? $lang['AWARDED_RANK'] . ' <b> '. $ranks[$rank_id]['rank_title'] .'</b>' : $lang['SHOT_RANK'];
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@ $domain_name = (!empty($_SERVER['SERVER_NAME'])) ? $_SERVER['SERVER_NAME'] : $do
|
|||
|
||||
// Increase number of revision after update
|
||||
$bb_cfg['tp_version'] = '2.5 Beta';
|
||||
$bb_cfg['tp_release_state'] = 'R452';
|
||||
$bb_cfg['tp_release_state'] = 'R453';
|
||||
$bb_cfg['tp_release_date'] = '04-09-2012';
|
||||
|
||||
// Database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue