[Jifty-commit] r6821 - jifty/trunk/lib/Jifty/Plugin

Jifty commits jifty-commit at lists.jifty.org
Wed Apr 22 04:37:07 EDT 2009


Author: sartak
Date: Wed Apr 22 04:37:07 2009
New Revision: 6821

Modified:
   jifty/trunk/lib/Jifty/Plugin/RequestInspector.pm

Log:
RI->get_request(id)

Modified: jifty/trunk/lib/Jifty/Plugin/RequestInspector.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/RequestInspector.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/RequestInspector.pm	Wed Apr 22 04:37:07 2009
@@ -22,6 +22,13 @@
 
 sub requests { @requests }
 
+sub get_request {
+    my $self = shift;
+    my $id = shift;
+
+    $requests[$id - 1]; # 1-based
+}
+
 sub new_request_inspection {
     my ($self, $cgi) = @_;
 


More information about the Jifty-commit mailing list