[Rt-commit] r16111 - in rt/branches/3.999-DANGEROUS: lib/RT/Action
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Sat Sep 27 11:39:17 EDT 2008
Author: sunnavy
Date: Sat Sep 27 11:39:16 2008
New Revision: 16111
Modified:
rt/branches/3.999-DANGEROUS/ (props changed)
rt/branches/3.999-DANGEROUS/lib/RT/Action/TicketUpdateDates.pm
Log:
r16896 at sunnavys-mb: sunnavy | 2008-09-27 23:33:26 +0800
added get_results method in TicketUpdateDates.pm to uhh, get results ;)
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Action/TicketUpdateDates.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Action/TicketUpdateDates.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Action/TicketUpdateDates.pm Sat Sep 27 11:39:16 2008
@@ -74,4 +74,16 @@
$self->result->message( _('Dates Updated') );
}
+sub get_results {
+ my $self = shift;
+ my $result = {Jifty->web->response->results}->{$self->moniker};
+ my @results;
+ if ($result) {
+ for my $type ( sort keys %{ $result->content } ) {
+ push @results, $result->content->{$type};
+ }
+ }
+ return @results;
+}
+
1;
More information about the Rt-commit
mailing list