projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactored admin_team_edit.php to use ttAdmin class.
[timetracker.git]
/
notification_delete.php
diff --git
a/notification_delete.php
b/notification_delete.php
index
834befb
..
0b6cf5c
100644
(file)
--- a/
notification_delete.php
+++ b/
notification_delete.php
@@
-31,7
+31,7
@@
import('form.Form');
import('ttNotificationHelper');
// Access check.
import('ttNotificationHelper');
// Access check.
-if (!ttAccess
Check(right_manage_team
) || !$user->isPluginEnabled('no')) {
+if (!ttAccess
Allowed('manage_advanced_settings'
) || !$user->isPluginEnabled('no')) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}