diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-11-05 03:25:11 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-11-05 03:25:11 +0400 |
commit | e8bec0896a46eb883f971bdffe8a7f15e4a1381a (patch) | |
tree | 9c304f3bdd9ffad94cbfcb839a8a7722b46a55e1 /core/Archive.php | |
parent | 2bf4ee763c8be29286b45c9118737d41a584119d (diff) |
Refs #4278 Remove Archiver hooks and the classes Archiver will be automatically detected.
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) { |