diff --git a/module/VuFind/src/VuFind/ILS/Driver/DAIA.php b/module/VuFind/src/VuFind/ILS/Driver/DAIA.php index e18eea7a3429cc7fbd845ffc3f2b47d2b47c6675..c66ef8702a19af76accd33369df3f1ad71351805 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/DAIA.php +++ b/module/VuFind/src/VuFind/ILS/Driver/DAIA.php @@ -51,7 +51,9 @@ use Zend\Log\LoggerAwareInterface as LoggerAwareInterface; class DAIA extends AbstractBase implements HttpServiceAwareInterface, LoggerAwareInterface { - use CacheTrait; + use CacheTrait { + getCacheKey as protected getBaseCacheKey; + } use \VuFindHttp\HttpServiceAwareTrait; use \VuFind\Log\LoggerAwareTrait; @@ -208,7 +210,7 @@ class DAIA extends AbstractBase implements */ protected function getCacheKey($suffix = null) { - return parent::getCacheKey(md5($this->baseURL) . $suffix); + return $this->getBaseCacheKey(md5($this->baseUrl) . $suffix); } /** diff --git a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php index 6a87936bfdfc909aab9320c89fa4270b12d130ac..2552784b20807af122aaf44f748b8cfd3666029b 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php +++ b/module/VuFind/src/VuFind/ILS/Driver/KohaILSDI.php @@ -49,7 +49,9 @@ use Zend\Log\LoggerInterface; class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements \VuFindHttp\HttpServiceAwareInterface, \Zend\Log\LoggerAwareInterface { - use CacheTrait; + use CacheTrait { + getCacheKey as protected getBaseCacheKey; + } use \VuFindHttp\HttpServiceAwareTrait; use \VuFind\Log\LoggerAwareTrait; @@ -324,7 +326,7 @@ class KohaILSDI extends \VuFind\ILS\Driver\AbstractBase implements */ protected function getCacheKey($suffix = null) { - return \VuFind\ILS\Driver\AbstractBase::getCacheKey( + return $this->getBaseCacheKey( md5($this->ilsBaseUrl) . $suffix ); } diff --git a/module/VuFind/src/VuFind/ILS/Driver/PAIA.php b/module/VuFind/src/VuFind/ILS/Driver/PAIA.php index 8cc6efa39ecc9817860ff1ca541561e86558a353..d1c3a5e09a9128faf762029af2abeef4c30e8a34 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/PAIA.php +++ b/module/VuFind/src/VuFind/ILS/Driver/PAIA.php @@ -123,7 +123,7 @@ class PAIA extends DAIA */ protected function getCacheKey($suffix = null) { - return \VuFind\ILS\Driver\AbstractBase::getCacheKey( + return $this->getBaseCacheKey( md5($this->baseUrl . $this->paiaURL) . $suffix ); } diff --git a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php index b308360c65b1b5eb6a48487b5fde3d3efc58c359..6970f6a380f368e4b280d120afa8d275a4556d5f 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php +++ b/module/VuFind/src/VuFind/ILS/Driver/VoyagerRestful.php @@ -50,7 +50,9 @@ use VuFind\Exception\ILS as ILSException; */ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInterface { - use CacheTrait; + use CacheTrait { + getCacheKey as protected getBaseCacheKey; + } use \VuFindHttp\HttpServiceAwareTrait; /**