diff options
Diffstat (limited to 'core/Archive.php')
-rw-r--r-- | core/Archive.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/Archive.php b/core/Archive.php index fa0528e083..1086d9ba36 100644 --- a/core/Archive.php +++ b/core/Archive.php @@ -610,11 +610,7 @@ class Archive continue; } - if ($period->getLabel() == 'day') { - $processing = new ArchiveProcessor\Day($period, $site, $this->params->getSegment()); - } else { - $processing = new ArchiveProcessor\Aggregator($period, $site, $this->params->getSegment()); - } + $processing = new ArchiveProcessor($period, $site, $this->params->getSegment()); // process for each plugin as well foreach ($archiveGroups as $plugin) { |