[freeside-commits] freeside/FS/FS/part_export domreg_opensrs.pm, 1.12, 1.13
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Sep 15 21:17:35 PDT 2010
Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv17411
Modified Files:
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.12
retrieving revision 1.13
diff -u -w -d -r1.12 -r1.13
--- domreg_opensrs.pm 5 Jul 2010 20:18:31 -0000 1.12
+++ domreg_opensrs.pm 16 Sep 2010 04:17:32 -0000 1.13
@@ -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