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

Avoid direct call to getConfig().

parent cf27165c
Branches
Tags
No related merge requests found
......@@ -284,6 +284,9 @@ class Connection implements TranslatorAwareInterface
$functionConfig['helpText']
);
}
if (isset($functionConfig['consortium'])) {
$response['consortium'] = $functionConfig['consortium'];
}
} else if ($this->checkCapability('getHoldLink')) {
$response = array('function' => "getHoldLink");
}
......
......@@ -169,7 +169,7 @@ class Holds
$patron = $this->ilsAuth->storedCatalogLogin();
// Does this ILS Driver handle consortial holdings?
$config = $this->catalog->getConfig('Holds');
$config = $this->catalog->checkFunction('Holds');
if (isset($config['consortium']) && $config['consortium'] == true) {
$result = $this->catalog->getConsortialHoldings(
$id, $patron ? $patron : null, $ids
......
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