},
{
+ 'key' => 'rt-hide_activity_notification',
+ 'section' => 'ticketing',
+ 'description' => 'Hide the notification box when there is activity on tickets',
+ 'type' => 'checkbox',
+ },
+
+ {
'key' => 'pkg-balances',
'section' => 'packages',
'description' => 'Enable per-package balances.',
<%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';