[freeside-commits] freeside/FS/FS/part_export domreg_opensrs.pm, 1.5.2.4, 1.5.2.5
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Sep 15 21:18:15 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv17553
Modified Files:
Tag: FREESIDE_1_9_BRANCH
domreg_opensrs.pm
Log Message:
default registrations to 1 year
Index: domreg_opensrs.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/domreg_opensrs.pm,v
retrieving revision 1.5.2.4
retrieving revision 1.5.2.5
diff -u -w -d -r1.5.2.4 -r1.5.2.5
--- domreg_opensrs.pm 5 Jul 2010 20:18:54 -0000 1.5.2.4
+++ domreg_opensrs.pm 16 Sep 2010 04:18:13 -0000 1.5.2.5
@@ -379,6 +379,8 @@
sub register {
my ( $self, $svc_domain, $years ) = @_;
+ $years = 1 unless $years; #default to 1 year since we don't seem to pass it
+
return "Net::OpenSRS does not support period other than 1 year" if $years != 1;
eval "use Net::OpenSRS;";
More information about the freeside-commits
mailing list