projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
part_pkg caching should speedup display of lots of packages, RT#5083
[freeside.git]
/
FS
/
FS
/
cust_pkg.pm
diff --git
a/FS/FS/cust_pkg.pm
b/FS/FS/cust_pkg.pm
index
f2e0005
..
44e1210
100644
(file)
--- a/
FS/FS/cust_pkg.pm
+++ b/
FS/FS/cust_pkg.pm
@@
-1220,8
+1220,10
@@
L<FS::part_pkg>).
=cut
+use Carp qw(cluck);
sub part_pkg {
my $self = shift;
+ cluck "part_pkg called" if $DEBUG > 1 && ! $self->{'_pkgpart'};
#exists( $self->{'_pkgpart'} )
$self->{'_pkgpart'}
? $self->{'_pkgpart'}