Disable potentially useless code
This commit is contained in:
@@ -131,9 +131,9 @@ class AjaxTableController extends ActionController
|
|||||||
'filterSettings' => $filterSettings,
|
'filterSettings' => $filterSettings,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
|
// if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
|
||||||
$paCode = $reseller['paCode'];
|
// $paCode = $reseller['paCode'];
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (1 === count($dates)) {
|
if (1 === count($dates)) {
|
||||||
$date = reset($dates);
|
$date = reset($dates);
|
||||||
@@ -215,9 +215,9 @@ class AjaxTableController extends ActionController
|
|||||||
$forcedConceptUids = GeneralUtility::trimExplode(',', $this->settings['forcedConceptUids'], true);
|
$forcedConceptUids = GeneralUtility::trimExplode(',', $this->settings['forcedConceptUids'], true);
|
||||||
$filterSettings = $this->filterService->getNormalizedFilterSettings([], $forcedConceptUids);
|
$filterSettings = $this->filterService->getNormalizedFilterSettings([], $forcedConceptUids);
|
||||||
|
|
||||||
if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
|
// if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
|
||||||
$paCode = $reseller['paCode'];
|
// $paCode = $reseller['paCode'];
|
||||||
}
|
// }
|
||||||
|
|
||||||
$priceTable = $this->dateService->getPriceTable([
|
$priceTable = $this->dateService->getPriceTable([
|
||||||
'product' => $product,
|
'product' => $product,
|
||||||
|
|||||||
Reference in New Issue
Block a user