diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2020-11-30 06:23:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 06:23:54 +0300 |
commit | c08811389bca65ae3e3eb878a001e71562fd7fed (patch) | |
tree | 1af0e3cce7a2d1a4b015438a442edee8caccef6d /plugins/CoreConsole | |
parent | fc2e8a5ea1d37a8db37e9e2330ba67faacdc71a2 (diff) |
re-add missing condition for --skip-segments-today (#16777)
Diffstat (limited to 'plugins/CoreConsole')
-rw-r--r-- | plugins/CoreConsole/Commands/CoreArchiver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CoreConsole/Commands/CoreArchiver.php b/plugins/CoreConsole/Commands/CoreArchiver.php index 44719e7b64..6407f4bbe2 100644 --- a/plugins/CoreConsole/Commands/CoreArchiver.php +++ b/plugins/CoreConsole/Commands/CoreArchiver.php @@ -41,7 +41,6 @@ class CoreArchiver extends ConsoleCommand $archiver->dateLastForced = $input->getOption('force-date-last-n'); $archiver->concurrentRequestsPerWebsite = $input->getOption('concurrent-requests-per-website'); $archiver->maxConcurrentArchivers = $input->getOption('concurrent-archivers'); - $archiver->skipSegmentsToday = $input->getOption('skip-segments-today'); $archiver->shouldArchiveAllSites = $input->getOption('force-all-websites'); $archiver->setUrlToPiwik($url); @@ -49,6 +48,7 @@ class CoreArchiver extends ConsoleCommand $archiveFilter->setDisableSegmentsArchiving($input->getOption('skip-all-segments')); $archiveFilter->setRestrictToDateRange($input->getOption("force-date-range")); $archiveFilter->setRestrictToPeriods($input->getOption("force-periods")); + $archiveFilter->setSkipSegmentsForToday($input->getOption('skip-segments-today')); $segmentIds = $input->getOption('force-idsegments'); $segmentIds = explode(',', $segmentIds); |