autoload methods returning foreign records, RT#13971
[freeside.git] / FS / FS / cdr_cust_pkg_usage.pm
index 6ef7f2d..7de8764 100644 (file)
@@ -1,8 +1,7 @@
 package FS::cdr_cust_pkg_usage;
+use base qw( FS::Record );
 
 use strict;
-use base qw( FS::Record );
-use FS::Record qw( qsearch qsearchs );
 
 =head1 NAME
 
@@ -102,16 +101,6 @@ Returns the L<FS::cust_pkg_usage> object that this usage allocation came from.
 
 Returns the L<FS::cdr> object that the usage was applied to.
 
-=cut
-
-sub cust_pkg_usage {
-  FS::cust_pkg_usage->by_key($_[0]->pkgusagenum);
-}
-
-sub cdr {
-  FS::cdr->by_key($_[0]->acctid);
-}
-
 =back
 
 =head1 SEE ALSO