summaryrefslogtreecommitdiff
path: root/FS/FS/cust_pkg_usage.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/cust_pkg_usage.pm
parent66c235e33563ccd785ff9e0828398f778a75fb9f (diff)
autoload methods returning foreign records, RT#13971
Diffstat (limited to 'FS/FS/cust_pkg_usage.pm')
-rw-r--r--FS/FS/cust_pkg_usage.pm18
1 files changed, 2 insertions, 16 deletions
diff --git a/FS/FS/cust_pkg_usage.pm b/FS/FS/cust_pkg_usage.pm
index 0eefd74..d295842 100644
--- a/FS/FS/cust_pkg_usage.pm
+++ b/FS/FS/cust_pkg_usage.pm
@@ -1,10 +1,8 @@
package FS::cust_pkg_usage;
+use base qw( FS::Record );
use strict;
-use base qw( FS::Record );
-use FS::cust_pkg;
-use FS::part_pkg_usage;
-use FS::Record qw( qsearch qsearchs );
+use FS::Record qw( qsearch ); #qsearchs );
=head1 NAME
@@ -139,18 +137,6 @@ Return the L<FS::cust_pkg> linked to this record.
Return the L<FS::part_pkg_usage> linked to this record.
-=cut
-
-sub cust_pkg {
- my $self = shift;
- FS::cust_pkg->by_key($self->pkgnum);
-}
-
-sub part_pkg_usage {
- my $self = shift;
- FS::part_pkg_usage->by_key($self->pkgusagepart);
-}
-
=back
=head1 SEE ALSO