From e8bec0896a46eb883f971bdffe8a7f15e4a1381a Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 5 Nov 2013 12:25:11 +1300 Subject: Refs #4278 Remove Archiver hooks and the classes Archiver will be automatically detected. --- core/Archive.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'core/Archive.php') 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) { -- cgit v1.2.3