X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fdomain_record.pm;h=e180e4b66d903742eb8b8f4cf691646bd7769234;hp=8d767d510241d96e8f329e50be43357330ab9cf1;hb=c2dbe36096332d1e09bc58d7d9903e05247f0c9b;hpb=d74ab480f4ee20f8a9cf230e53d1f5a210badf0f diff --git a/FS/FS/domain_record.pm b/FS/FS/domain_record.pm index 8d767d510..e180e4b66 100644 --- a/FS/FS/domain_record.pm +++ b/FS/FS/domain_record.pm @@ -1,15 +1,12 @@ package FS::domain_record; +use base qw(FS::Record); use strict; -use vars qw( @ISA $noserial_hack $DEBUG $me ); +use vars qw( $noserial_hack $DEBUG $me ); use FS::Conf; -#use FS::Record qw( qsearch qsearchs ); -use FS::Record qw( qsearchs dbh ); -use FS::svc_domain; +use FS::Record qw( qsearchs dbh ); #qsearch use FS::svc_www; -@ISA = qw(FS::Record); - $DEBUG = 0; $me = '[FS::domain_record]'; @@ -371,13 +368,6 @@ sub increment_serial { Returns the domain (see L) for this record. -=cut - -sub svc_domain { - my $self = shift; - qsearchs('svc_domain', { svcnum => $self->svcnum } ); -} - =item zone Returns the canonical zone name.