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