Revision 82815260
Von Jan Büren vor fast 8 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
578 | 578 |
number => $self->letter->letternumber, |
579 | 579 |
); |
580 | 580 |
|
581 |
my $webdav_path = $webdav->webdav_path; |
|
582 | 581 |
my @all_objects = $webdav->get_all_objects; |
583 | 582 |
|
584 | 583 |
return [ map { |
SL/Controller/Order.pm | ||
---|---|---|
1088 | 1088 |
type => $self->type, |
1089 | 1089 |
number => $self->order->ordnumber, |
1090 | 1090 |
); |
1091 |
my $webdav_path = $webdav->webdav_path; |
|
1092 | 1091 |
my @all_objects = $webdav->get_all_objects; |
1093 | 1092 |
@{ $self->{template_args}->{WEBDAV} } = map { { name => $_->filename, |
1094 | 1093 |
type => t8('File'), |
bin/mozilla/ap.pl | ||
---|---|---|
266 | 266 |
type => 'accounts_payable', |
267 | 267 |
number => $form->{invnumber}, |
268 | 268 |
); |
269 |
my $webdav_path = $webdav->webdav_path; |
|
270 | 269 |
my @all_objects = $webdav->get_all_objects; |
271 | 270 |
@{ $form->{WEBDAV} } = map { { name => $_->filename, |
272 | 271 |
type => t8('File'), |
bin/mozilla/gl.pl | ||
---|---|---|
313 | 313 |
type => 'general_ledger', |
314 | 314 |
number => $form->{id}, |
315 | 315 |
); |
316 |
my $webdav_path = $webdav->webdav_path; |
|
317 | 316 |
my @all_objects = $webdav->get_all_objects; |
318 | 317 |
@{ $form->{WEBDAV} } = map { { name => $_->filename, |
319 | 318 |
type => t8('File'), |
Auch abrufbar als: Unified diff
WebDAV: Überflüssigen Aufruf webdav_path im Frontend entfernt
WebDAV::get_all_objects ruft in der Methode seit Anbeginn des Moduls
schon ein webdav_path auf, von daher schreddern bevor noch mehr
copy & waste im Programm passiert