From d5c2a768a43e05850dc431cd4787f179627821c6 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 29 Nov 2006 18:17:16 +0000 Subject: [PATCH] Remove _isodate() method, used only within the class. Use isodate() directly, imported from Utils.pm --- lib/ZOOM/IRSpy/Record.pm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/ZOOM/IRSpy/Record.pm b/lib/ZOOM/IRSpy/Record.pm index 52e2b41..9141a51 100644 --- a/lib/ZOOM/IRSpy/Record.pm +++ b/lib/ZOOM/IRSpy/Record.pm @@ -1,4 +1,4 @@ -# $Id: Record.pm,v 1.19 2006-11-01 10:14:56 mike Exp $ +# $Id: Record.pm,v 1.20 2006-11-29 18:17:16 mike Exp $ package ZOOM::IRSpy::Record; @@ -8,7 +8,7 @@ use warnings; use XML::LibXML; use XML::LibXML::XPathContext; -use ZOOM::IRSpy::Utils qw(xml_encode); +use ZOOM::IRSpy::Utils qw(xml_encode isodate); =head1 NAME @@ -101,7 +101,7 @@ sub store_result { $xml .= " $key=\"" . $this->_string2cdata($info{$key}) . "\""; } - $xml .= ">" . $this->_isodate(time()) . "\n"; + $xml .= ">" . isodate(time()) . "\n"; $this->append_entry('irspy:status', $xml); } @@ -173,12 +173,6 @@ sub _string2cdata { } -sub _isodate { - my ($this, $time) = @_; - return ZOOM::IRSpy::Test::isodate($time); -} - - =head1 SEE ALSO ZOOM::IRSpy -- 1.7.10.4