]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/ttTeamHelper.class.php
Cosmetic - maintenance adjustment.
[timetracker.git] / WEB-INF / lib / ttTeamHelper.class.php
index 6f716f58789bebe0c06d77e760bef31c068213ae..69fcaa0f9317a8b99538c546053c27a51973cd86 100644 (file)
@@ -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;