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

Added comment; eliminated unused property.

parent e2673efe
No related merge requests found
......@@ -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'] .
......
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