Improved a comment for translators.
[timetracker.git] / admin_teams.php
index 73777d2..9c3d209 100644 (file)
@@ -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