A few more replacements for canManageTeam.
[timetracker.git] / admin_team_add.php
index e88da19..6626a8d 100644 (file)
@@ -32,7 +32,7 @@ import('ttUserHelper');
 import('ttRoleHelper');
 
 // Access check.
-if (!ttAccessCheck(right_administer_site)) {
+if (!ttAccessAllowed('administer_site')) {
   header('Location: access_denied.php');
   exit();
 }