Add bonuspoint, corr and chart calculation and update displaying of chart.

This commit is contained in:
2018-04-03 21:06:22 +02:00
parent f56cf04e74
commit 3ade0f043f
6 changed files with 249 additions and 8 deletions

View File

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

View File

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