summaryrefslogtreecommitdiff
path: root/httemplate/elements/notify-tickets.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2017-08-01 13:53:42 -0400
committerChristopher Burger <burgerc@freeside.biz>2017-08-01 13:53:42 -0400
commit5665dc8243598e7ca6567719b6e91efcfbbea209 (patch)
tree5944b4e9154f72bf8bdca0d1159942f74f4a16a5 /httemplate/elements/notify-tickets.html
parent1043f465a4c6a1ab94df2e22823a2a688e102bcd (diff)
RT # 73490 - removed global conf and user pref check for hide tickets and added group access control.
Diffstat (limited to 'httemplate/elements/notify-tickets.html')
-rw-r--r--httemplate/elements/notify-tickets.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html
index b545063..ce367de 100644
--- a/httemplate/elements/notify-tickets.html
+++ b/httemplate/elements/notify-tickets.html
@@ -13,12 +13,8 @@
<%init>
use Class::Load 'load_class';
-use FS::Conf;
-my $conf = new FS::Conf;
-
my $enabled = $FS::TicketSystem::system eq 'RT_Internal';
-$enabled = 0 if $FS::CurrentUser::CurrentUser->option('hide_notify_tickets');
-$enabled = 0 if $conf->exists('rt-hide_activity_notification');
+$enabled = 0 if $FS::CurrentUser::CurrentUser->access_right('not an RT');
my $UnrepliedTickets;
if ($enabled) {
my $class = 'RT::Search::UnrepliedTickets';