X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/047bc803a5228a0a786462cabdfa5fdd9be762a4..3293ee1f5f59dca3c19a9b9ac21dca90e572b8dd:/dbinstall.php
diff --git a/dbinstall.php b/dbinstall.php
index d5059444..e0973cd7 100644
--- a/dbinstall.php
+++ b/dbinstall.php
@@ -904,13 +904,13 @@ if ($_POST) {
if ($_POST["cleanup"]) {
$mdb2 = getConnection();
- $inactive_teams = ttTeamHelper::getInactiveGroups();
+ $inactive_groups = ttTeamHelper::getInactiveGroups();
- $count = count($inactive_teams);
- print "$count inactive teams found...
\n";
+ $count = count($inactive_groups);
+ print "$count inactive groups found...
\n";
for ($i = 0; $i < $count; $i++) {
- print " deleting team ".$inactive_teams[$i]."
\n";
- $res = ttTeamHelper::delete($inactive_teams[$i]);
+ print " deleting group ".$inactive_groups[$i]."
\n";
+ $res = ttTeamHelper::delete($inactive_groups[$i]);
}
setChange("OPTIMIZE TABLE tt_client_project_binds");