From 11b737ebf7a0134a35e39af976eaa777695b601b Mon Sep 17 00:00:00 2001 From: Torsten Date: Tue, 9 Jun 2020 09:10:46 +0200 Subject: [PATCH] Added special case for Season6 (manual score update for deleted Corona Round 21) --- pfosten/app/Tipp.php | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/pfosten/app/Tipp.php b/pfosten/app/Tipp.php index 6c7d7fea..3f481b62 100755 --- a/pfosten/app/Tipp.php +++ b/pfosten/app/Tipp.php @@ -399,6 +399,43 @@ class Tipp extends Model $totalRankScore += $roundtipps[$key]["rankscore"]; $roundtipps[$key]['totalRankScore'] = $totalRankScore; + // Corona Update for season_id=6 + // round_id 252 ==> Runde 22 + if ( $user_id == 54 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 4; } + if ( $user_id == 82 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 2; } + if ( $user_id == 117 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 2; } + if ( $user_id == 20 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 2; } + if ( $user_id == 25 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 2; } + if ( $user_id == 56 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 120 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 19 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 106 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 112 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 114 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 23 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 21 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 7 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 61 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 69 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 75 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 22 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 111 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 81 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 98 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 34 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 107 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 6 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 68 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 40 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 13 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 91 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 94 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 30 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 116 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 99 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 121 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + if ( $user_id == 62 && $round_id == 252) { $roundtipps[$key]['totalRankScore'] += 1; } + } }