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

Eliminated unused variables.

parent a7b768ac
No related merge requests found
...@@ -669,7 +669,6 @@ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInte ...@@ -669,7 +669,6 @@ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInte
public function renewMyItems($renewDetails) public function renewMyItems($renewDetails)
{ {
$renewProcessed = array(); $renewProcessed = array();
$renewResult = array();
$failIDs = array(); $failIDs = array();
$patronId = $renewDetails['patron']['id']; $patronId = $renewDetails['patron']['id'];
...@@ -727,7 +726,7 @@ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInte ...@@ -727,7 +726,7 @@ class VoyagerRestful extends Voyager implements \VuFindHttp\HttpServiceAwareInte
} }
} }
// Deal with unsuccessful results // Deal with unsuccessful results
foreach ($failIDs as $id => $junk) { foreach (array_keys($failIDs) as $id) {
$finalResult['details'][$id] = array( $finalResult['details'][$id] = array(
"success" => false, "success" => false,
"new_date" => false, "new_date" => false,
......
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