projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
posaune
[kivitendo-erp.git]
/
SL
/
DBUpgrade2.pm
diff --git
a/SL/DBUpgrade2.pm
b/SL/DBUpgrade2.pm
index
283e5a4
..
4fb1ba9
100644
(file)
--- a/
SL/DBUpgrade2.pm
+++ b/
SL/DBUpgrade2.pm
@@
-26,7
+26,7
@@
sub init {
$params{path_suffix} ||= '';
$params{schema} ||= '';
$params{path_suffix} ||= '';
$params{schema} ||= '';
- $params{path}
= "sql/Pg-upgrade2" . $params{path_suffix};
+ $params{path}
||
= "sql/Pg-upgrade2" . $params{path_suffix};
map { $self->{$_} = $params{$_} } keys %params;
map { $self->{$_} = $params{$_} } keys %params;
@@
-38,8
+38,6
@@
sub path {
}
sub parse_dbupdate_controls {
}
sub parse_dbupdate_controls {
- $::lxdebug->enter_sub();
-
my ($self) = @_;
my $form = $self->{form};
my ($self) = @_;
my $form = $self->{form};
@@
-124,8
+122,6
@@
sub parse_dbupdate_controls {
$self->{all_controls} = \%all_controls;
$self->{all_controls} = \%all_controls;
- $::lxdebug->leave_sub();
-
return $self;
}
return $self;
}
@@
-381,13
+377,11
@@
sub _control_error {
}
sub _dbupdate2_calculate_depth {
}
sub _dbupdate2_calculate_depth {
- $::lxdebug->enter_sub(2);
-
my ($tree, $tag) = @_;
my $node = $tree->{$tag};
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;
my $max_depth = 0;
@@
-398,8
+392,6
@@
sub _dbupdate2_calculate_depth {
}
$node->{"depth"} = $max_depth + 1;
}
$node->{"depth"} = $max_depth + 1;
-
- $::lxdebug->leave_sub(2);
}
sub sort_dbupdate_controls {
}
sub sort_dbupdate_controls {