stray closing /TABLE in the no-ticket case
[freeside.git] / FS / FS / contact_phone.pm
index 610753f..46d6a9b 100644 (file)
@@ -2,9 +2,6 @@ package FS::contact_phone;
 use base qw( FS::Record );
 
 use strict;
-use FS::Record qw( qsearch qsearchs );
-use FS::contact;
-use FS::phone_type;
 
 =head1 NAME
 
@@ -140,16 +137,6 @@ sub phonenum_pretty {
 
 }
 
-sub contact {
-  my $self = shift;
-  qsearchs( 'contact', { 'contactnum' => $self->contactnum } );
-}
-
-sub phone_type {
-  my $self = shift;
-  qsearchs('phone_type', { 'phonetypenum' => $self->phonetypenum } );
-}
-
 sub typename {
   my $self = shift;
   $self->phone_type->typename;