projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some refactoring.
[timetracker.git]
/
mobile
/
client_add.php
diff --git
a/mobile/client_add.php
b/mobile/client_add.php
index
e489496
..
71f51ca
100644
(file)
--- a/
mobile/client_add.php
+++ b/
mobile/client_add.php
@@
-32,7
+32,7
@@
import('ttClientHelper');
import('ttTeamHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || !$user->isPluginEnabled('cl')) {
+if (!ttAccess
Allowed('manage_clients'
) || !$user->isPluginEnabled('cl')) {
header('Location: access_denied.php');
exit();
}