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

Eliminated unused variables.

parent a6b16bd9
No related merge requests found
......@@ -130,7 +130,6 @@ class AbstractBase implements \VuFindHttp\HttpServiceAwareInterface
{
// Format details
// Get config for which details we want
$fields = $combinedFields = array(); // Save to combine later
$detailsList = $this->getDetailsList();
if (empty($detailsList)) {
throw new \Exception('Missing [Details] in VuDL.ini');
......
......@@ -1279,7 +1279,7 @@ class MyResearchController extends AbstractBase
// Reassign oldpwd to password in the request so login works
$temp_password = $post->password;
$post->password = $post->oldpwd;
$authClass = $this->getAuthManager()->login($request);
$this->getAuthManager()->login($request);
$post->password = $temp_password;
} catch(AuthException $e) {
$this->flashMessenger()->setNamespace('error')
......
......@@ -48,8 +48,6 @@ class Params extends \VuFind\Search\Base\Params
{
$backendParams = new ParamBag();
$options = $this->getOptions();
// The "relevance" sort option is a VuFind reserved word; we need to make
// this null in order to achieve the desired effect with Summon:
$sort = $this->getSort();
......
......@@ -233,7 +233,7 @@ class Connector
$lookfor = "";
if (is_array($terms)) {
foreach ($terms as $key => $thisTerm) {
foreach ($terms as $thisTerm) {
//set the index to search
switch ($thisTerm['index']) {
case "AllFields":
......
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