Revision a03a52eb
Von Tamino Steinert vor 11 Monaten hinzugefügt
SL/BackgroundJob/CleanUpEmailSubfolders.pm | ||
---|---|---|
9 | 9 |
|
10 | 10 |
sub clean_up_record_subfolders { |
11 | 11 |
my ($self) = @_; |
12 |
my $imap_client = SL::IMAPClient->new(); |
|
12 |
my $imap_client = SL::IMAPClient->new(%{$::lx_office_conf{imap_client}});
|
|
13 | 13 |
|
14 | 14 |
my $open_sales_orders = SL::DB::Manager::Order->get_all( |
15 | 15 |
query => [ |
... | ... | |
18 | 18 |
], |
19 | 19 |
); |
20 | 20 |
|
21 |
$imap_client->clean_up_record_subfolders($open_sales_orders); |
|
21 |
$imap_client->clean_up_record_subfolders(active_records => $open_sales_orders);
|
|
22 | 22 |
} |
23 | 23 |
|
24 | 24 |
sub run { |
Auch abrufbar als: Unified diff
Email Background Jobs: validiere Daten-Feld