[Rt-commit] r2976 - in rt/branches/CHALDEA-EXPERIMENTAL: . lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Mon May 30 00:50:30 EDT 2005
Author: jesse
Date: Mon May 30 00:50:29 2005
New Revision: 2976
Modified:
rt/branches/CHALDEA-EXPERIMENTAL/ (props changed)
rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
Log:
r17984 at hualien: jesse | 2005-05-30 00:43:04 -0400
* Added a link into Reminders from Tickets_Overlay.pm
Modified: rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/lib/RT/Ticket_Overlay.pm Mon May 30 00:50:29 2005
@@ -151,6 +151,7 @@
use RT::CustomFields;
use RT::Tickets;
use RT::Transactions;
+use RT::Reminders;
use RT::URI::fsck_com_rt;
use RT::URI;
use MIME::Entity;
@@ -3583,6 +3584,26 @@
# }}}
+=head2 Reminders
+
+Return the Reminders object for this ticket. (It's an RT::Reminders object.)
+It isn't acutally a searchbuilder collection itself.
+
+=cut
+
+sub Reminders {
+ my $self = shift;
+
+ unless ($self->{'__reminders'}) {
+ $self->{'__reminders'} = RT::Reminders->new($self->CurrentUser);
+ $self->{'__reminders'}->Ticket($self->id);
+ }
+ return $self->{'__reminders'};
+
+}
+
+
+
# {{{ sub Transactions
=head2 Transactions
More information about the Rt-commit
mailing list