freeside/FS/FS svc_domain.pm,1.41,1.42
ivan
ivan at pouncequick.420.am
Tue Apr 13 15:30:50 PDT 2004
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory pouncequick:/tmp/cvs-serv21675
Modified Files:
svc_domain.pm
Log Message:
remove dependancy on Net::Whois that wasn't being used anyway
Index: svc_domain.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/svc_domain.pm,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- svc_domain.pm 27 Mar 2004 01:05:33 -0000 1.41
+++ svc_domain.pm 13 Apr 2004 22:30:48 -0000 1.42
@@ -7,7 +7,7 @@
);
use Carp;
use Date::Format;
-use Net::Whois 1.0;
+#use Net::Whois::Raw;
use FS::Record qw(fields qsearch qsearchs dbh);
use FS::Conf;
use FS::svc_Common;
@@ -386,15 +386,16 @@
=item whois
-Returns the Net::Whois::Domain object (see L<Net::Whois>) for this domain, or
-undef if the domain is not found in whois.
+# Returns the Net::Whois::Domain object (see L<Net::Whois>) for this domain, or
+# undef if the domain is not found in whois.
(If $FS::svc_domain::whois_hack is true, returns that in all cases instead.)
=cut
sub whois {
- $whois_hack or new Net::Whois::Domain $_[0]->domain;
+ #$whois_hack or new Net::Whois::Domain $_[0]->domain;
+ $whois_hack or die "whois_hack not set...\n";
}
=item _whois
More information about the freeside-commits
mailing list