чистка кеша при смене звания git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@453 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
pherum83 2012-09-03 23:30:17 +00:00
commit b16cb96b54
2 changed files with 3 additions and 1 deletions

View file

@ -318,6 +318,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'];
}

View file

@ -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