X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fdomain_record.pm;h=e180e4b66d903742eb8b8f4cf691646bd7769234;hb=0586dafb71594726138cd3b7b721b9f1a0b79ae2;hp=cd881ae08ec07174bfc946ab676425594fdc16e3;hpb=8c450aab9bae89373c2c1b35c85597bb52299de3;p=freeside.git diff --git a/FS/FS/domain_record.pm b/FS/FS/domain_record.pm index cd881ae08..e180e4b66 100644 --- a/FS/FS/domain_record.pm +++ b/FS/FS/domain_record.pm @@ -1,14 +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( qsearchs dbh ); #qsearch -use FS::svc_domain; use FS::svc_www; -@ISA = qw(FS::Record); - $DEBUG = 0; $me = '[FS::domain_record]'; @@ -370,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.