From: Sven Schöling Date: Mon, 20 Jul 2015 14:14:11 +0000 (+0200) Subject: DBUpgrade: lxdebug Statements entfernt X-Git-Tag: release-3.3.0beta~31^2~9 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=03907d6fd3a6af1633eaa4ecf2d4a27b1439a3b2;p=kivitendo-erp.git DBUpgrade: lxdebug Statements entfernt So kann es aus scripts/ aufgerufen werden. --- diff --git a/SL/DBUpgrade2.pm b/SL/DBUpgrade2.pm index 283e5a4a3..65d2fec24 100644 --- a/SL/DBUpgrade2.pm +++ b/SL/DBUpgrade2.pm @@ -38,8 +38,6 @@ sub path { } sub parse_dbupdate_controls { - $::lxdebug->enter_sub(); - my ($self) = @_; my $form = $self->{form}; @@ -124,8 +122,6 @@ sub parse_dbupdate_controls { $self->{all_controls} = \%all_controls; - $::lxdebug->leave_sub(); - return $self; } @@ -381,13 +377,11 @@ sub _control_error { } sub _dbupdate2_calculate_depth { - $::lxdebug->enter_sub(2); - my ($tree, $tag) = @_; my $node = $tree->{$tag}; - return $::lxdebug->leave_sub(2) if (defined($node->{"depth"})); + return if (defined($node->{"depth"})); my $max_depth = 0; @@ -398,8 +392,6 @@ sub _dbupdate2_calculate_depth { } $node->{"depth"} = $max_depth + 1; - - $::lxdebug->leave_sub(2); } sub sort_dbupdate_controls {