X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/a96c4f4e05e68e875ce088201ad011d6fc3e1e1c..38b85fc251ea53e5d5842e25c8fc9b066a474a54:/WEB-INF/lib/ttTeamHelper.class.php diff --git a/WEB-INF/lib/ttTeamHelper.class.php b/WEB-INF/lib/ttTeamHelper.class.php index 08c52f45..44f3d7a0 100644 --- a/WEB-INF/lib/ttTeamHelper.class.php +++ b/WEB-INF/lib/ttTeamHelper.class.php @@ -400,27 +400,6 @@ class ttTeamHelper { return $result; } - // The getInactiveClients returns an array of inactive clients for a group. - static function getInactiveClients($group_id, $all_fields = false) - { - $result = array(); - $mdb2 = getConnection(); - - if ($all_fields) - $sql = "select * from tt_clients where group_id = $group_id and status = 0 order by upper(name)"; - else - $sql = "select id, name from tt_clients where group_id = $group_id and status = 0 order by upper(name)"; - - $res = $mdb2->query($sql); - $result = array(); - if (!is_a($res, 'PEAR_Error')) { - while ($val = $res->fetchRow()) { - $result[] = $val; - } - } - return $result; - } - // The getAllClients obtains all clients in a group. static function getAllClients($group_id, $all_fields = false) { $mdb2 = getConnection();