X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2FttTeamHelper.class.php;h=ba678fcbc3fc8b45c12209b9ed449f0a52807e92;hb=fc0eb9d0e457236fc7a588b8be95a6829354dd25;hp=e726b92fba6eb8c28d39100401cddb8883cd9045;hpb=15d6c066539ad4a33e13dd3b10c41e8c0fffce37;p=timetracker.git diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index e726b92f..ba678fcb 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -810,9 +810,9 @@ class ttTeamHelper { $inactive_teams = array(); $mdb2 = getConnection(); - // Get all team ids for teams created or modified more than 1 year ago. + // Get all team ids for teams created or modified more than 6 months ago. // $ts = date('Y-m-d', strtotime('-1 year')); - $ts = date('Y-m-d', strtotime('-4 month')); + $ts = date('Y-m-d', strtotime('-6 month')); $sql = "select id from tt_teams where timestamp < '$ts' order by id"; $res = $mdb2->query($sql);