X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/7341c172b0754194233c787f14f2cde95c75205d..21b321bd90ffd53e88021da44f39dc340cc63bc2:/WEB-INF/lib/ttTeamHelper.class.php diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 6f716f58..69fcaa0f 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -810,7 +810,7 @@ class ttTeamHelper { return true; } - // The getInactiveTeams is a maintenance function that returns an array of inactive team ids (max 50). + // The getInactiveTeams is a maintenance function that returns an array of inactive team ids (max 100). static function getInactiveTeams() { $inactive_teams = array(); $mdb2 = getConnection(); @@ -829,7 +829,7 @@ class ttTeamHelper { $count++; $inactive_teams[] = $team_id; // Limit the array size for perfomance by allowing this operation on small chunks only. - if ($count >= 50) break; + if ($count >= 100) break; } } return $inactive_teams;