summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2006-08-18 09:50:03 +0000
committerivan <ivan>2006-08-18 09:50:03 +0000
commit44c2490342f14b64acbd9fce3bf7df8df4e64aff (patch)
treee339b5f5c0e2258846010153de4340f70c9d9e6b /FS
parent8d1ba54d93d8b4b12395fcc2a45632ffa59546c5 (diff)
add debugging to _copy_skel to get some idea what's going on
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/cust_main.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/cust_main.pm b/FS/FS/cust_main.pm
index f9d7be1c8..2617d10b0 100644
--- a/FS/FS/cust_main.pm
+++ b/FS/FS/cust_main.pm
@@ -499,6 +499,10 @@ sub _copy_skel {
or return "$table has no primary key".
" (or do you need to run dbdef-create?)";
+ warn " _copy_skel: $table.$primary_key $sourceid to $destid for ".
+ join (', ', keys %child_tables). "\n"
+ if $DEBUG > 2;
+
foreach my $child_table ( keys %child_tables ) {
my $child_pkey = dbdef->table($child_table)->primary_key;