diff --git a/module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php b/module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php index 915b613db41d5a472cb64ba8967c774e250d91c8..a4af49c336307137a543576696c17e3ab4e70aeb 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'] .