summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/contact_Mixin.pm4
-rw-r--r--FS/FS/cust_pkg.pm5
2 files changed, 2 insertions, 7 deletions
diff --git a/FS/FS/contact_Mixin.pm b/FS/FS/contact_Mixin.pm
index 33cd3509a..6e8f315b9 100644
--- a/FS/FS/contact_Mixin.pm
+++ b/FS/FS/contact_Mixin.pm
@@ -4,13 +4,13 @@ use strict;
use FS::Record qw( qsearchs );
use FS::contact;
-=item contact
+=item contact_obj
Returns the contact object, if any (see L<FS::contact>).
=cut
-sub contact {
+sub contact_obj {
my $self = shift;
return '' unless $self->contactnum;
qsearchs( 'contact', { 'contactnum' => $self->contactnum } );
diff --git a/FS/FS/cust_pkg.pm b/FS/FS/cust_pkg.pm
index 801228871..741d440fa 100644
--- a/FS/FS/cust_pkg.pm
+++ b/FS/FS/cust_pkg.pm
@@ -3569,11 +3569,6 @@ sub main_pkg {
return;
}
-# workaround for name conflict
-sub pkg_contact {
- FS::contact_Mixin::contact(@_);
-}
-
=back
=head1 CLASS METHODS