eliminate some false laziness in FS::Misc::send_email vs. msg_template/email.pm send_...
[freeside.git] / FS / FS / dsl_device.pm
index 2efe1f5..1e86d44 100644 (file)
@@ -1,9 +1,7 @@
 package FS::dsl_device;
+use base qw( FS::MAC_Mixin 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