X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDBUpgrade2.pm;h=6d8129c7e369a849b6c812b2ac325b00032943e3;hb=05fc6cefc7bae541f5a306e7b5e09473d91fa843;hp=c521a4cf7eca9b162e598227eeefb47a1fb95da3;hpb=918365347037c5ebcb9eb229e5925dca456a7fd1;p=kivitendo-erp.git diff --git a/SL/DBUpgrade2.pm b/SL/DBUpgrade2.pm index c521a4cf7..6d8129c7e 100644 --- a/SL/DBUpgrade2.pm +++ b/SL/DBUpgrade2.pm @@ -124,13 +124,13 @@ sub _control_error { } sub _dbupdate2_calculate_depth { - $main::lxdebug->enter_sub(); + $main::lxdebug->enter_sub(2); my ($tree, $tag) = @_; my $node = $tree->{$tag}; - return $main::lxdebug->leave_sub() if (defined($node->{"depth"})); + return $main::lxdebug->leave_sub(2) if (defined($node->{"depth"})); my $max_depth = 0; @@ -142,7 +142,7 @@ sub _dbupdate2_calculate_depth { $node->{"depth"} = $max_depth + 1; - $main::lxdebug->leave_sub(); + $main::lxdebug->leave_sub(2); } sub sort_dbupdate_controls {