Skip to content
Snippets Groups Projects
Commit 37ed86fb authored by Georgi's avatar Georgi
Browse files

[BUGFIX] Remove dead code

parent 248554a6
No related branches found
No related tags found
1 merge request!15[TASK] move flexform field down, add max-height for shorts videos, add backend...
......@@ -38,8 +38,6 @@ class QueryStringFilter implements FilterInterface {
public function __construct(array $filterValues, array $filterConfig) {
$this->filterValues = $filterValues;
$this->filterConfig = $filterConfig;
// $this->applyDefaultFilterValues();
}
/**
......@@ -70,14 +68,4 @@ class QueryStringFilter implements FilterInterface {
public function setFilterValues(array $filterValues): void {
$this->filterValues = $filterValues;
}
protected function applyDefaultFilterValues(): void {
if (isset($this->filterConfig['defaultValues']) && !empty($this->filterConfig['defaultValues'])) {
foreach ($this->filterConfig['defaultValues'] as $key => $value) {
if (!isset($this->filterValues[$key])) {
$this->filterValues[$key] = $value;
}
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment