projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d5127d
)
DBUpgrade: locales parsen
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:13:41 +0000
(16:13 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 20 Jul 2015 14:37:27 +0000
(16:37 +0200)
SL/DBUpgrade2.pm
patch
|
blob
|
history
diff --git
a/SL/DBUpgrade2.pm
b/SL/DBUpgrade2.pm
index
6d0b207
..
283e5a4
100644
(file)
--- a/
SL/DBUpgrade2.pm
+++ b/
SL/DBUpgrade2.pm
@@
-59,6
+59,7
@@
sub parse_dbupdate_controls {
my $control = {
"priority" => 1000,
"depends" => [],
+ "locales" => [],
};
while (<IN>) {
@@
-73,6
+74,8
@@
sub parse_dbupdate_controls {
if ($fields[0] eq "depends") {
push(@{$control->{"depends"}}, split(/\s+/, $fields[1]));
+ } elsif ($fields[0] eq "locales") {
+ push @{$control->{locales}}, $fields[1];
} else {
$control->{$fields[0]} = $fields[1];
}