projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Started to populate group_id on new time entry inserts.
[timetracker.git]
/
notification_delete.php
diff --git
a/notification_delete.php
b/notification_delete.php
index
46de065
..
b18ac61
100644
(file)
--- a/
notification_delete.php
+++ b/
notification_delete.php
@@
-30,11
+30,15
@@
require_once('initialize.php');
import('form.Form');
import('ttNotificationHelper');
import('form.Form');
import('ttNotificationHelper');
-// Access check.
-if (!ttAccessAllowed('manage_advanced_settings')
|| !$user->isPluginEnabled('no')
) {
+// Access check
s
.
+if (!ttAccessAllowed('manage_advanced_settings')) {
header('Location: access_denied.php');
exit();
}
header('Location: access_denied.php');
exit();
}
+if (!$user->isPluginEnabled('no')) {
+ header('Location: feature_disabled.php');
+ exit();
+}
$cl_notification_id = (int)$request->getParameter('id');
$notification = ttNotificationHelper::get($cl_notification_id);
$cl_notification_id = (int)$request->getParameter('id');
$notification = ttNotificationHelper::get($cl_notification_id);