From: Nik Okuntseff Date: Wed, 11 Apr 2018 00:36:01 +0000 (+0000) Subject: Cleanup. Removed unused function. X-Git-Tag: timetracker_1.19-1~854 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=39e42323eb5ccb439a3d3c4b8835141471742a8b;p=timetracker.git Cleanup. Removed unused function. --- diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 53474490..a8133b8a 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -187,24 +187,6 @@ class ttTeamHelper { return false; } - // The getAllUsers obtains all users in a group. - static function getAllUsers($group_id, $all_fields = false) { - $mdb2 = getConnection(); - if ($all_fields) - $sql = "select * from tt_users where group_id = $group_id order by upper(name)"; - else - $sql = "select id, name from tt_users where group_id = $group_id order by upper(name)"; - $res = $mdb2->query($sql); - $result = array(); - if (!is_a($res, 'PEAR_Error')) { - while ($val = $res->fetchRow()) { - $result[] = $val; - } - return $result; - } - return false; - } - // getActiveProjects - returns an array of active projects for a group. static function getActiveProjects($group_id) { diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 3136c712..74216a3b 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.87.4247 | Copyright © Anuko | +  Anuko Time Tracker 1.17.87.4248 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}