X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=mobile%2Fclients.php;h=d1e6b38f3fc5f816c466fe8b453b8f07adfbad99;hb=fb5b1697fdd701ada644b7e25f22a93a0893107c;hp=61cc304ea17e0bbf8aa16f3464bb5aa510399462;hpb=e304b6c8564a6c3f2a3c6e68a0f5e9c7db817a65;p=timetracker.git 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();