From 186f5df56a2887318811c17ef34e4bbc4cfd793c Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Thu, 29 Nov 2012 09:16:03 -0500
Subject: [PATCH] Added comment; eliminated unused property.

---
 module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php b/module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php
index 915b613db41..a4af49c3363 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php
@@ -40,8 +40,12 @@ use PDO, PDOException, VuFind\Config\Reader as ConfigReader,
  */
 class NewGenLib extends AbstractBase
 {
+    /**
+     * Database connection
+     *
+     * @var PDO
+     */
     protected $db;
-    protected $dbName;
 
     /**
      * Initialize the driver.
@@ -58,9 +62,6 @@ class NewGenLib extends AbstractBase
             throw new ILSException('Configuration needs to be set.');
         }
 
-        // Define Database Name
-        $this->dbName = $this->config['Catalog']['database'];
-
         try {
             $connectStr = 'pgsql:host=' . $this->config['Catalog']['hostname'] .
                 ' user=' . $this->config['Catalog']['user'] .
-- 
GitLab