X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fnotify-tickets.html;h=b545063381908422fa1e51ac55326516c5f50599;hb=09a43bd0984104796052ceee7fdae0581612535d;hp=35917c34d9d0fcd6c1106984504969b019e5e751;hpb=681a340f6be4184b1472a8e1fa9cd5d074f6f325;p=freeside.git diff --git a/httemplate/elements/notify-tickets.html b/httemplate/elements/notify-tickets.html index 35917c34d..b54506338 100644 --- a/httemplate/elements/notify-tickets.html +++ b/httemplate/elements/notify-tickets.html @@ -13,8 +13,12 @@ <%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'); my $UnrepliedTickets; if ($enabled) { my $class = 'RT::Search::UnrepliedTickets';