X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=users.php;h=b7a6606ca5a61df2b808a6a88002ed00c604840a;hb=2bd9983978cf8d6263e27a531aeb33f365667e37;hp=8787844b45c970a92b572c73efa983bb90549010;hpb=2178ec6d4efd6cad07b8f137415ecec207efcdad;p=timetracker.git diff --git a/users.php b/users.php index 8787844b..b7a6606c 100644 --- a/users.php +++ b/users.php @@ -28,15 +28,15 @@ require_once('initialize.php'); import('form.Form'); -import('ttTeamHelper'); import('ttTimeHelper'); import('ttRoleHelper'); -// Access check. +// Access checks. if (!(ttAccessAllowed('view_users') || ttAccessAllowed('manage_users'))) { header('Location: access_denied.php'); exit(); } +// End of access checks. // Prepare a list of active users. if ($user->can('view_users')) @@ -51,7 +51,7 @@ if($user->can('manage_users')) { $inactive_users = $user->getUsers($options); } -// Check if the team is set to show indicators for uncompleted time entries. +// Check if the group is set to show indicators for uncompleted time entries. if ($user->uncompleted_indicators) { // Check each active user if they have an uncompleted time entry. foreach ($active_users as $key => $user) {