Skip to content

Commit 3293ee1

Browse files
committed
Cosmetic maintenance fixes.
1 parent 047bc80 commit 3293ee1

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

WEB-INF/lib/ttTeamHelper.class.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@ static function getInactiveGroups() {
664664
$inactive_groups = array();
665665
$mdb2 = getConnection();
666666

667-
// Get all group ids for groups created or modified more than 8 months ago.
667+
// Get all group ids for groups created or modified more than 9 months ago.
668668
// $ts = date('Y-m-d', strtotime('-1 year'));
669-
$ts = $mdb2->quote(date('Y-m-d', strtotime('-8 month')));
669+
$ts = $mdb2->quote(date('Y-m-d', strtotime('-9 month')));
670670
$sql = "select id from tt_groups where created < $ts and (modified is null or modified < $ts) order by id";
671671
$res = $mdb2->query($sql);
672672

WEB-INF/templates/footer.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<br>
1313
<table cellspacing="0" cellpadding="4" width="100%" border="0">
1414
<tr>
15-
<td align="center">&nbsp;Anuko Time Tracker 1.17.89.4269 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
15+
<td align="center">&nbsp;Anuko Time Tracker 1.17.89.4270 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
1616
<a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
1717
<a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
1818
<a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>

dbinstall.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -904,13 +904,13 @@ function setChange($sql) {
904904
if ($_POST["cleanup"]) {
905905

906906
$mdb2 = getConnection();
907-
$inactive_teams = ttTeamHelper::getInactiveGroups();
907+
$inactive_groups = ttTeamHelper::getInactiveGroups();
908908

909-
$count = count($inactive_teams);
910-
print "$count inactive teams found...<br>\n";
909+
$count = count($inactive_groups);
910+
print "$count inactive groups found...<br>\n";
911911
for ($i = 0; $i < $count; $i++) {
912-
print " deleting team ".$inactive_teams[$i]."<br>\n";
913-
$res = ttTeamHelper::delete($inactive_teams[$i]);
912+
print " deleting group ".$inactive_groups[$i]."<br>\n";
913+
$res = ttTeamHelper::delete($inactive_groups[$i]);
914914
}
915915

916916
setChange("OPTIMIZE TABLE tt_client_project_binds");

0 commit comments

Comments
 (0)