X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/3e557bb14365fb2483e0889820013198e0088674..bcfe9680fdb90d26de543b2c43feabefdcac3c20:/WEB-INF/lib/ttTeamHelper.class.php diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 08fa5bee..631d2120 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -664,9 +664,9 @@ class ttTeamHelper { $inactive_groups = array(); $mdb2 = getConnection(); - // Get all group ids for groups created or modified more than 8 months ago. + // Get all group ids for groups created or modified more than 9 months ago. // $ts = date('Y-m-d', strtotime('-1 year')); - $ts = $mdb2->quote(date('Y-m-d', strtotime('-8 month'))); + $ts = $mdb2->quote(date('Y-m-d', strtotime('-9 month'))); $sql = "select id from tt_groups where created < $ts and (modified is null or modified < $ts) order by id"; $res = $mdb2->query($sql);