Add bonuspoint, corr and chart calculation and update displaying of chart.
This commit is contained in:
@@ -426,6 +426,9 @@ class bets_module
|
||||
$league_info = league_info($season, $league);
|
||||
$cash = $this->request->variable('cash', false);
|
||||
save_ranking_matchday($season, $league, $matchday, $cash);
|
||||
bonuspoints($season, $league, $matchday);
|
||||
corr($season, $league, $matchday);
|
||||
chart($season, $league, $matchday);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -443,6 +443,9 @@ class results_module
|
||||
|
||||
$cash = $this->request->variable('cash', false);
|
||||
save_ranking_matchday($season, $league, $matchday, $cash);
|
||||
bonuspoints($season, $league, $matchday);
|
||||
corr($season, $league, $matchday);
|
||||
chart($season, $league, $matchday);
|
||||
|
||||
// Patch delevirey
|
||||
if ($league_info['bet_in_time'] == 1)
|
||||
|
||||
Reference in New Issue
Block a user