projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 77217 Add email_opt_out action to API
[freeside.git]
/
FS
/
FS
/
domain_record.pm
diff --git
a/FS/FS/domain_record.pm
b/FS/FS/domain_record.pm
index
9f1eb53
..
e180e4b
100644
(file)
--- a/
FS/FS/domain_record.pm
+++ b/
FS/FS/domain_record.pm
@@
-1,15
+1,12
@@
package FS::domain_record;
package FS::domain_record;
+use base qw(FS::Record);
use strict;
use strict;
-use vars qw(
@ISA
$noserial_hack $DEBUG $me );
+use vars qw( $noserial_hack $DEBUG $me );
use FS::Conf;
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;
use FS::svc_www;
-@ISA = qw(FS::Record);
-
$DEBUG = 0;
$me = '[FS::domain_record]';
$DEBUG = 0;
$me = '[FS::domain_record]';
@@
-371,13
+368,6
@@
sub increment_serial {
Returns the domain (see L<FS::svc_domain>) for this record.
Returns the domain (see L<FS::svc_domain>) for this record.
-=cut
-
-sub svc_domain {
- my $self = shift;
- qsearchs('svc_domain', { svcnum => $self->svcnum } );
-}
-
=item zone
Returns the canonical zone name.
=item zone
Returns the canonical zone name.
@@
-440,7
+430,7
@@
sub reverse_record {
#http://en.wikipedia.org/wiki/List_of_DNS_record_types
#DHCID? other things?
sub rectypes {
#http://en.wikipedia.org/wiki/List_of_DNS_record_types
#DHCID? other things?
sub rectypes {
- [ qw(A AAAA CNAME MX NS PTR SPF SRV TXT), #most common types
+ [ qw(
SOA
A AAAA CNAME MX NS PTR SPF SRV TXT), #most common types
#qw(DNAME), #uncommon types
qw(DLV DNSKEY DS NSEC NSEC3 NSEC3PARAM RRSIG), #DNSSEC types
];
#qw(DNAME), #uncommon types
qw(DLV DNSKEY DS NSEC NSEC3 NSEC3PARAM RRSIG), #DNSSEC types
];