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

Renamed ilsconnection service to VuFind\ILSConnection.

parent 9a7f83a4
No related merge requests found
......@@ -78,7 +78,7 @@ $config = array(
'factories' => array(
'ils' => function ($sm) {
return new \VuFind\Auth\ILS(
$sm->getServiceLocator()->get('ILSConnection')
$sm->getServiceLocator()->get('VuFind\ILSConnection')
);
},
),
......@@ -282,7 +282,7 @@ $config = array(
'VuFind\DbAdapter' => function ($sm) {
return \VuFind\Db\AdapterFactory::getAdapter();
},
'ilsconnection' => function ($sm) {
'VuFind\ILSConnection' => function ($sm) {
$catalog = new \VuFind\ILS\Connection();
return $catalog
->setConfig(\VuFind\Config\Reader::getConfig()->Catalog)
......
......@@ -71,7 +71,7 @@ class Manager implements ServiceLocatorAwareInterface
*/
protected function getILS()
{
return $this->getServiceLocator()->get('ILSConnection');
return $this->getServiceLocator()->get('VuFind\ILSConnection');
}
/**
......
......@@ -196,7 +196,7 @@ class AbstractBase extends AbstractActionController
*/
public function getILS()
{
return $this->getServiceLocator()->get('ILSConnection');
return $this->getServiceLocator()->get('VuFind\ILSConnection');
}
/**
......
......@@ -796,7 +796,8 @@ class SolrMarc extends SolrDefault
*/
protected function getILS()
{
return $this->getServiceLocator()->getServiceLocator()->get('ILSConnection');
return $this->getServiceLocator()->getServiceLocator()
->get('VuFind\ILSConnection');
}
/**
......
......@@ -46,6 +46,6 @@ class Ils extends AbstractServiceLocator
*/
public function __invoke()
{
return $this->getServiceLocator()->get('ILSConnection');
return $this->getServiceLocator()->get('VuFind\ILSConnection');
}
}
\ No newline at end of file
......@@ -107,7 +107,7 @@ class AbstractBase extends AbstractActionController
*/
public function getILS()
{
return $this->getServiceLocator()->get('ILSConnection');
return $this->getServiceLocator()->get('VuFind\ILSConnection');
}
/**
......
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