X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/251996aed11c648ecaa30f77383e0384bfadf7a5..e4c40a490a8c9477cab1d41b786aa7aaa5e930d6:/admin_teams.php diff --git a/admin_teams.php b/admin_teams.php index 73777d22..9c3d2092 100644 --- a/admin_teams.php +++ b/admin_teams.php @@ -31,7 +31,7 @@ import('form.Form'); import('ttTeamHelper'); // Access check. -if (!ttAccessCheck(right_administer_site)) { +if (!ttAccessAllowed('administer_site')) { header('Location: access_denied.php'); exit(); } @@ -40,4 +40,3 @@ $smarty->assign('teams', ttTeamHelper::getTeams()); $smarty->assign('title', $i18n->getKey('title.teams')); $smarty->assign('content_page_name', 'admin_teams.tpl'); $smarty->display('index.tpl'); -?> \ No newline at end of file