From a1828e39bc628fd85afc9daa22e0a11cacbf2ecd Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 7 Feb 2017 12:41:54 -0500 Subject: [PATCH] Removed non-functional logic. --- .../src/VuFind/Controller/EdsController.php | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/module/VuFind/src/VuFind/Controller/EdsController.php b/module/VuFind/src/VuFind/Controller/EdsController.php index 8c4053ab033..329265d3f38 100644 --- a/module/VuFind/src/VuFind/Controller/EdsController.php +++ b/module/VuFind/src/VuFind/Controller/EdsController.php @@ -87,9 +87,7 @@ class EdsController extends AbstractSearch public function homeAction() { $this->setUp(); - return $this->createViewModel( - ['results' => $this->getHomePageFacets()] - ); + return $this->createViewModel(); } /** @@ -106,7 +104,7 @@ class EdsController extends AbstractSearch * Return a Search Results object containing advanced facet information. This * data may come from the cache. * - * @return \VuFind\Search\EDS\Results + * @return array */ protected function getAdvancedFacets() { @@ -129,18 +127,6 @@ class EdsController extends AbstractSearch return $availableLimiters; } - /** - * Return a Search Results object containing homepage facet information. This - * data may come from the cache. - * - * @return \VuFind\Search\EDS\Results - */ - protected function getHomePageFacets() - { - // For now, we'll use the same fields as the advanced search screen. - return $this->getAdvancedFacets(); - } - /** * Process the facets to be used as limits on the Advanced Search screen. * -- GitLab