Skip to content
Snippets Groups Projects
Commit 9bdb55d5 authored by Demian Katz's avatar Demian Katz
Browse files

Eliminated unused variables.

parent 6a965057
Branches
Tags
No related merge requests found
......@@ -283,7 +283,7 @@ class EuropeanaResults implements RecommendInterface,
}
$parsedFeed = FeedReader::import($this->targetUrl);
$resultsProcessed = array();
foreach ($parsedFeed as $key => $value) {
foreach ($parsedFeed as $value) {
$link = (string)$value->link;
if (!empty($link)) {
$resultsProcessed[] = array(
......
......@@ -172,7 +172,6 @@ abstract class Options implements TranslatorAwareInterface
{
$label = empty($label) ? false : $this->translate($label);
$targetHandler = false;
foreach ($this->getBasicHandlers() as $id => $currentLabel) {
if ($this->translate($currentLabel) == $label) {
return $id;
......
......@@ -136,7 +136,7 @@ class Params extends \VuFind\Search\Base\Params
$facetSet = array();
if (!empty($this->facetConfig)) {
$facetSet['limit'] = $this->facetLimit;
foreach ($this->facetConfig as $facetField => $facetName) {
foreach (array_keys($this->facetConfig) as $facetField) {
if ($this->getFacetOperator($facetField) == 'OR') {
$facetField = '{!ex=' . $facetField . '_filter}' . $facetField;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment