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_delete.php
diff --git
a/mobile/client_delete.php
b/mobile/client_delete.php
index
a0caf4f
..
b57e581
100644
(file)
--- a/
mobile/client_delete.php
+++ b/
mobile/client_delete.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttClientHelper');
// Access check.
import('ttClientHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_clients') || !$user->isPluginEnabled('cl'
)) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}