From 9bb61dca42679c4cc9406905eecff48e66c941eb Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Mon, 11 Nov 2013 11:55:10 -0500 Subject: [PATCH] Added comments; removed unused variables. --- module/VuFind/src/VuFind/ILS/Driver/Symphony.php | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/module/VuFind/src/VuFind/ILS/Driver/Symphony.php b/module/VuFind/src/VuFind/ILS/Driver/Symphony.php index 4c515e0945f..3e35dec9615 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Symphony.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Symphony.php @@ -44,7 +44,18 @@ use SoapClient, SoapFault, SoapHeader, VuFind\Exception\ILS as ILSException, class Symphony extends AbstractBase implements ServiceLocatorAwareInterface { + /** + * Cache for policy information + * + * @var object + */ protected $policyCache = false; + + /** + * Policy information + * + * @var array + */ protected $policies; /** @@ -1277,7 +1288,7 @@ class Symphony extends AbstractBase implements ServiceLocatorAwareInterface try { $options = array('holdKey' => $holdKey); - $hold = $this->makeRequest( + $this->makeRequest( 'patron', 'cancelMyHold', $options, @@ -1353,7 +1364,6 @@ class Symphony extends AbstractBase implements ServiceLocatorAwareInterface */ public function renewMyItems($renewDetails) { - $blocks = array(); $details = array(); $patron = $renewDetails['patron']; @@ -1429,7 +1439,7 @@ class Symphony extends AbstractBase implements ServiceLocatorAwareInterface $options['comment'] = $holdDetails['comment']; } - $hold = $this->makeRequest( + $this->makeRequest( 'patron', 'createMyHold', $options, -- GitLab