Skip to content

Commit

Permalink
Removed some calls to helper
Browse files Browse the repository at this point in the history
  • Loading branch information
LuomaJuha committed Jan 15, 2025
1 parent a7501a9 commit cd30dcb
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function addItemToListAction()
$view->source ?: DEFAULT_SEARCH_BACKEND,
false
);
$listProperties = ($this->reservationListHelper)($user)->getListProperties(
$listProperties = $this->reservationListService->getListProperties(
$view->institution,
$view->listIdentifier
)['properties'];
Expand Down Expand Up @@ -208,7 +208,7 @@ public function createListAction(): \Laminas\View\Model\ViewModel
'listIdentifier' => $this->getParam('listIdentifier'),
]
);
$listProperties = ($this->reservationListHelper)($user)->getListProperties(
$listProperties = $this->reservationListService->getListProperties(
$view->institution,
$view->listIdentifier
)['properties'];
Expand Down Expand Up @@ -295,7 +295,7 @@ public function placeOrderAction()
if ($list->getOrdered()) {
throw new \VuFind\Exception\Forbidden('List already ordered');
}
$listProperties = $this->reservationListHelper->getListProperties(
$listProperties = $this->reservationListService->getListProperties(
$list->getInstitution(),
$list->getListConfigIdentifier()
)['properties'];
Expand Down

0 comments on commit cd30dcb

Please sign in to comment.