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

Eliminated unused variables.

parent 866cff98
No related merge requests found
......@@ -111,7 +111,7 @@ class PluginFactory implements AbstractFactoryInterface
) {
$config->$section = $child->$section;
} else {
foreach ($contents as $key => $value) {
foreach (array_keys($contents->toArray()) as $key) {
$config->$section->$key = $child->$section->$key;
}
}
......
......@@ -312,7 +312,6 @@ class Holds
? ($addlink && $copy['is_holdable']) : $addlink;
if ($addlink) {
$holdLink = "";
if ($checkHolds['function'] == "getHoldLink") {
/* Build opac link */
$holdings[$location_key][$copy_key]['link']
......
......@@ -512,9 +512,6 @@ class Server
return;
}
// Initialize the array of XML chunks to include in our response:
$xmlParts = array();
// Copy the cursor from the parameters so we can track our current position
// separately from our initial position!
$currentCursor = $params['cursor'];
......
......@@ -151,7 +151,6 @@ class SwitchQuery implements RecommendInterface
// Perform all checks (based on naming convention):
$methods = get_class_methods($this);
$checks = array();
foreach ($methods as $method) {
if (substr($method, 0, 5) == 'check') {
$currentCheck = strtolower(substr($method, 5));
......
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