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

Added missing comments, removed unused property.

parent 13f69cf4
Branches
Tags
No related merge requests found
......@@ -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();
}
/**
......
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