summaryrefslogtreecommitdiff
path: root/FS/FS/dsl_device.pm
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-12-28 16:11:46 -0800
committerIvan Kohler <ivan@freeside.biz>2013-12-28 16:11:46 -0800
commit32072dbf59a054529f5304574c0f56f9567d14d0 (patch)
treeeaca19adc8da8daf4b0eaaed1a16c3a8e5a53cb0 /FS/FS/dsl_device.pm
parent66c235e33563ccd785ff9e0828398f778a75fb9f (diff)
autoload methods returning foreign records, RT#13971
Diffstat (limited to 'FS/FS/dsl_device.pm')
-rw-r--r--FS/FS/dsl_device.pm13
1 files changed, 2 insertions, 11 deletions
diff --git a/FS/FS/dsl_device.pm b/FS/FS/dsl_device.pm
index 2efe1f5..39e8c34 100644
--- a/FS/FS/dsl_device.pm
+++ b/FS/FS/dsl_device.pm
@@ -1,9 +1,7 @@
package FS::dsl_device;
+use base qw( FS::Record );
use strict;
-use base qw( FS::Record );
-use FS::Record qw( qsearch qsearchs );
-use FS::svc_dsl;
=head1 NAME
@@ -115,16 +113,9 @@ sub check {
=item svc_dsl
-Returns the phone number (see L<FS::svc_dsl>) associated with this customer
+Returns the DSL (see L<FS::svc_dsl>) associated with this customer
device.
-=cut
-
-sub svc_phone {
- my $self = shift;
- qsearchs( 'svc_dsl', { 'svcnum' => $self->svcnum } );
-}
-
=back
=head1 BUGS