The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

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

Removed unused code.

parent 10edfe45
No related merge requests found
...@@ -91,10 +91,6 @@ class NewGenLib extends AbstractBase ...@@ -91,10 +91,6 @@ class NewGenLib extends AbstractBase
public function getHolding($RecordID, $patron = false) public function getHolding($RecordID, $patron = false)
{ {
$holding = $this->getItemStatus($RecordID); $holding = $this->getItemStatus($RecordID);
$pieces = explode("_", $RecordID);
$CatId = $pieces[0];
$LibId = $pieces[1];
for ($i = 0; $i < count($holding); $i++) { for ($i = 0; $i < count($holding); $i++) {
// add extra data // add extra data
$duedateql = "select due_date from cir_transaction where " . $duedateql = "select due_date from cir_transaction where " .
...@@ -271,7 +267,6 @@ class NewGenLib extends AbstractBase ...@@ -271,7 +267,6 @@ class NewGenLib extends AbstractBase
break; break;
case 'B': case 'B':
$location = "Item available at the circulation desk"; $location = "Item available at the circulation desk";
$dtsql = "select ";
$type2 = "INTIMATED"; $type2 = "INTIMATED";
break; break;
} }
...@@ -447,7 +442,6 @@ class NewGenLib extends AbstractBase ...@@ -447,7 +442,6 @@ class NewGenLib extends AbstractBase
{ {
$patron = array(); $patron = array();
$PatId = $username; $PatId = $username;
$LibId = 1;
$psswrd = $password; $psswrd = $password;
//SQL Statement //SQL Statement
$sql = "select p.patron_id as patron_id, p.library_id as library_id, " . $sql = "select p.patron_id as patron_id, p.library_id as library_id, " .
......
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