[Rt-commit] r12855 - in rt/branches/3.8-TESTING: . etc
falcone at bestpractical.com
falcone at bestpractical.com
Tue Jun 3 15:36:37 EDT 2008
Author: falcone
Date: Tue Jun 3 15:36:34 2008
New Revision: 12855
Modified:
rt/branches/3.8-TESTING/ (props changed)
rt/branches/3.8-TESTING/etc/RT_Config.pm.in
rt/branches/3.8-TESTING/lib/RT/Ticket_Overlay.pm
Log:
r33719 at ketch: falcone | 2008-06-03 15:35:25 -0400
* Add a configuration flag so you can turn off Ticket Status Updates
Modified: rt/branches/3.8-TESTING/etc/RT_Config.pm.in
==============================================================================
--- rt/branches/3.8-TESTING/etc/RT_Config.pm.in (original)
+++ rt/branches/3.8-TESTING/etc/RT_Config.pm.in Tue Jun 3 15:36:34 2008
@@ -780,6 +780,12 @@
# }}}
+# Ticket Updates
+# Turn off the notices of unread messages on ticket display pages
+# by setting this to 0
+
+Set($EnableTicketUpdateStatus,1);
+
# {{{ Deprecated options
# $AlwaysUseBase64 - Encode blobs as base64 in DB (?)
Modified: rt/branches/3.8-TESTING/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/3.8-TESTING/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/3.8-TESTING/lib/RT/Ticket_Overlay.pm Tue Jun 3 15:36:34 2008
@@ -3078,6 +3078,7 @@
sub SeenUpTo {
my $self = shift;
+ return unless RT->Config->Get('EnableTicketUpdateStatus');
my $uid = $self->CurrentUser->id;
my $attr = $self->FirstAttribute( "User-". $uid ."-SeenUpTo" );
More information about the Rt-commit
mailing list