projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SimpleSystemSetting: Umstellung von »Artikel-Klassifizierungen«
[kivitendo-erp.git]
/
SL
/
Controller
/
CsvImport
/
Base.pm
diff --git
a/SL/Controller/CsvImport/Base.pm
b/SL/Controller/CsvImport/Base.pm
index
2fa7887
..
2deae45
100644
(file)
--- a/
SL/Controller/CsvImport/Base.pm
+++ b/
SL/Controller/CsvImport/Base.pm
@@
-339,6
+339,10
@@
sub check_objects {
sub check_duplicates {
}
sub check_duplicates {
}
+sub check_auth {
+ $::auth->assert('config');
+}
+
sub check_std_duplicates {
my $self = shift;
sub check_std_duplicates {
my $self = shift;
@@
-461,8
+465,6
@@
sub save_objects {
$self->controller->track_progress(phase => 'saving data', progress => 0); # scale from 45..95%;
$self->controller->track_progress(phase => 'saving data', progress => 0); # scale from 45..95%;
- my $dbh = $data->[0]{object}->db;
-
my $last_index = $#$data;
my $chunk_size = 100; # one transaction and progress update every 100 objects
my $last_index = $#$data;
my $chunk_size = 100; # one transaction and progress update every 100 objects