X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/e304b6c8564a6c3f2a3c6e68a0f5e9c7db817a65..41bb577927a2b54d6a2cbc97ccc63e2935f7604b:/mobile/clients.php diff --git a/mobile/clients.php b/mobile/clients.php index 61cc304e..d1e6b38f 100644 --- a/mobile/clients.php +++ b/mobile/clients.php @@ -28,7 +28,7 @@ require_once('../initialize.php'); import('form.Form'); -import('ttTeamHelper'); +import('ttGroupHelper'); // Access checks. if (!(ttAccessAllowed('view_own_clients') || ttAccessAllowed('manage_clients'))) { @@ -42,8 +42,8 @@ if (!$user->isPluginEnabled('cl')) { // End of access checks. if($user->can('manage_clients')) { - $active_clients = ttTeamHelper::getActiveClients($user->group_id, true); - $inactive_clients = ttTeamHelper::getInactiveClients($user->group_id, true); + $active_clients = ttGroupHelper::getActiveClients(true); + $inactive_clients = ttGroupHelper::getInactiveClients(true); } else $active_clients = $user->getAssignedClients();