From: Nik Okuntseff Date: Thu, 12 Apr 2018 01:30:07 +0000 (+0000) Subject: Removed unused function. X-Git-Tag: timetracker_1.19-1~842 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3e557bb14365fb2483e0889820013198e0088674;p=timetracker.git Removed unused function. --- diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 8d788cf3..08fa5bee 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -33,20 +33,6 @@ import('ttInvoiceHelper'); // Class ttTeamHelper - contains helper functions that operate with groups. class ttTeamHelper { - // The getUserCount function returns number of active users in a group. - static function getUserCount($group_id) { - $mdb2 = getConnection(); - - $sql = "select count(id) as cnt from tt_users where group_id = $group_id and status = 1"; - $res = $mdb2->query($sql); - - if (!is_a($res, 'PEAR_Error')) { - $val = $res->fetchRow(); - return $val['cnt']; - } - return false; - } - // The getUsersForClient obtains all active and inactive users in a group that are relevant to a client. static function getUsersForClient() { global $user; diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 56f76966..28ff0738 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.17.88.4258 | Copyright © Anuko | +  Anuko Time Tracker 1.17.88.4259 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}