projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
testing
[freeside.git]
/
FS
/
FS
/
contact_phone.pm
diff --git
a/FS/FS/contact_phone.pm
b/FS/FS/contact_phone.pm
index
0eb2166
..
46d6a9b
100644
(file)
--- a/
FS/FS/contact_phone.pm
+++ b/
FS/FS/contact_phone.pm
@@
-2,8
+2,6
@@
package FS::contact_phone;
use base qw( FS::Record );
use strict;
use base qw( FS::Record );
use strict;
-use FS::Record qw( qsearch qsearchs );
-use FS::contact;
=head1 NAME
=head1 NAME
@@
-139,9
+137,9
@@
sub phonenum_pretty {
}
}
-sub
contact
{
+sub
typename
{
my $self = shift;
my $self = shift;
-
qsearchs( 'contact', { 'contactnum' => $self->contactnum } )
;
+
$self->phone_type->typename
;
}
=back
}
=back