From 8a6fad6d93c5f693fd1bbb1498c731f6d5595ee6 Mon Sep 17 00:00:00 2001 From: mattab Date: Tue, 5 Nov 2013 16:30:56 +1300 Subject: Refs #4278 Simplifying ArchiveProcessor: moving internal logic to ArchiveProcessor\Loader ArchiveProcessor becomes a helper class easier to understand for plugin developers --- core/Archive.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/Archive.php') diff --git a/core/Archive.php b/core/Archive.php index 1086d9ba36..3b393c3696 100644 --- a/core/Archive.php +++ b/core/Archive.php @@ -610,7 +610,8 @@ class Archive continue; } - $processing = new ArchiveProcessor($period, $site, $this->params->getSegment()); + $parameters = new ArchiveProcessor\Parameters($period, $site, $this->params->getSegment()); + $processing = new ArchiveProcessor\Loader($parameters); // process for each plugin as well foreach ($archiveGroups as $plugin) { -- cgit v1.2.3