projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
A bit more progress on getting rid of canManageTeam.
[timetracker.git]
/
cf_dropdown_option_delete.php
diff --git
a/cf_dropdown_option_delete.php
b/cf_dropdown_option_delete.php
index
ed29592
..
f4e4420
100644
(file)
--- a/
cf_dropdown_option_delete.php
+++ b/
cf_dropdown_option_delete.php
@@
-31,7
+31,7
@@
require_once('plugins/CustomFields.class.php');
import('form.Form');
// Access check.
-if (!ttAccess
Check(right_manage_team
)) {
+if (!ttAccess
Allowed('manage_custom_fields') || !$user->isPluginEnabled('cf'
)) {
header('Location: access_denied.php');
exit();
}