[freeside-commits] freeside/FS/FS Record.pm,1.147,1.148
Ivan,,,
ivan at wavetail.420.am
Fri Nov 30 17:32:07 PST 2007
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv8214
Modified Files:
Record.pm
Log Message:
add h_date method too
Index: Record.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Record.pm,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -d -r1.147 -r1.148
--- Record.pm 1 Dec 2007 01:30:07 -0000 1.147
+++ Record.pm 1 Dec 2007 01:32:05 -0000 1.148
@@ -2131,6 +2131,19 @@
}
+=item h_date ACTION
+
+Given an ACTION, either "insert", or "delete", returns the timestamp of the
+appropriate history record corresponding to this record, if any.
+
+=cut
+
+sub h_date {
+ my($self, $action) = @_;
+ my $h = $self->h_search($action);
+ $h ? $h->history_date : '';
+}
+
=back
=head1 SUBROUTINES
More information about the freeside-commits
mailing list