diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-11-05 07:30:56 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-11-05 07:30:56 +0400 |
commit | 8a6fad6d93c5f693fd1bbb1498c731f6d5595ee6 (patch) | |
tree | 20dc56f904293f70510a20dd0f50246c6c4e9c3f /core/Archive.php | |
parent | 09b56ba3d65de601cea754941b23788f777fa794 (diff) |
Refs #4278 Simplifying ArchiveProcessor: moving internal logic to ArchiveProcessor\Loader
ArchiveProcessor becomes a helper class easier to understand for plugin developers
Diffstat (limited to 'core/Archive.php')
-rw-r--r-- | core/Archive.php | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |