Disable potentially useless code

This commit is contained in:
Björn Fromme
2022-09-27 16:42:04 +02:00
parent bbeb3b7bc5
commit dd565bed4a
@@ -131,9 +131,9 @@ class AjaxTableController extends ActionController
'filterSettings' => $filterSettings,
]);
if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
$paCode = $reseller['paCode'];
}
// if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
// $paCode = $reseller['paCode'];
// }
if (1 === count($dates)) {
$date = reset($dates);
@@ -215,9 +215,9 @@ class AjaxTableController extends ActionController
$forcedConceptUids = GeneralUtility::trimExplode(',', $this->settings['forcedConceptUids'], true);
$filterSettings = $this->filterService->getNormalizedFilterSettings([], $forcedConceptUids);
if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
$paCode = $reseller['paCode'];
}
// if ($reseller = $this->resellerDataService->getResellerForCurrentDomain()) {
// $paCode = $reseller['paCode'];
// }
$priceTable = $this->dateService->getPriceTable([
'product' => $product,