Skip to content

Commit

Permalink
Fixed issue: If the participant table is too big the token generation…
Browse files Browse the repository at this point in the history
… may fail due to memory shortage
  • Loading branch information
c-schmitz committed Sep 21, 2020
1 parent bb84d20 commit 53b1efb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions application/models/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,10 +311,6 @@ public function generateTokens()
foreach ($ntresult as $tkrow) {
$existingtokens[$tkrow] = true;
}
// select all existing tokens
foreach ($ntresult as $tkrow) {
$existingtokens[$tkrow['token']] = true;
}
$newtokencount = 0;
$invalidtokencount = 0;
$newtoken = null;
Expand Down

0 comments on commit 53b1efb

Please sign in to comment.