From 7afa4bed6e05c2042fceaa08fe6441749d6927de Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 5 Mar 2013 14:09:58 -0500
Subject: [PATCH] Added missing comments, removed unused property.

---
 .../VuFind/src/VuFind/ILS/Driver/Unicorn.php  | 27 ++++++++++++++++---
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
index 53c1e50e278..b224d9bf14b 100644
--- a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
+++ b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php
@@ -44,12 +44,33 @@ use File_MARC, VuFind\Exception\ILS as ILSException;
  **/
 class Unicorn extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterface
 {
+    /**
+     * Host
+     *
+     * @var string
+     */
     protected $host;
+
+    /**
+     * Port
+     *
+     * @var string
+     */
     protected $port;
+
+    /**
+     * Name of API program
+     *
+     * @var string
+     */
     protected $search_prog;
-    protected $url;
 
-    protected $db;
+    /**
+     * Full URL to API (alternative to host/port/search_prog)
+     *
+     * @var string
+     */
+    protected $url;
 
     /**
      * HTTP service
@@ -114,8 +135,6 @@ class Unicorn extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterf
             $this->port = $this->config['Catalog']['port'];
             $this->search_prog = $this->config['Catalog']['search_prog'];
         }
-
-        $this->db = \VuFind\Connection\Manager::connectToIndex();
     }
 
     /**
-- 
GitLab