diff --git a/module/VuFind/config/module.config.php b/module/VuFind/config/module.config.php index 5333d7a722b277e07c8861c4536ef2bddbf72e7f..b2c4de8501074c0c39b011ab5b4dea8442c20bd8 100644 --- a/module/VuFind/config/module.config.php +++ b/module/VuFind/config/module.config.php @@ -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) diff --git a/module/VuFind/src/VuFind/Auth/Manager.php b/module/VuFind/src/VuFind/Auth/Manager.php index 18eab5c6d6164ab3503e5014a61b73f9fedab2f3..19c02cda52d2b0584c803ec10bffa1b8db76c552 100644 --- a/module/VuFind/src/VuFind/Auth/Manager.php +++ b/module/VuFind/src/VuFind/Auth/Manager.php @@ -71,7 +71,7 @@ class Manager implements ServiceLocatorAwareInterface */ protected function getILS() { - return $this->getServiceLocator()->get('ILSConnection'); + return $this->getServiceLocator()->get('VuFind\ILSConnection'); } /** diff --git a/module/VuFind/src/VuFind/Controller/AbstractBase.php b/module/VuFind/src/VuFind/Controller/AbstractBase.php index 1635dec15a2f413a8649e0ad275207438c46498c..7e7ac7bfe78a9cd3c26e40da68ee6f686118f3d3 100644 --- a/module/VuFind/src/VuFind/Controller/AbstractBase.php +++ b/module/VuFind/src/VuFind/Controller/AbstractBase.php @@ -196,7 +196,7 @@ class AbstractBase extends AbstractActionController */ public function getILS() { - return $this->getServiceLocator()->get('ILSConnection'); + return $this->getServiceLocator()->get('VuFind\ILSConnection'); } /** diff --git a/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php b/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php index b4576728fd0600ad1d77a21ec07eb0e1d3dcbe57..6018ee1dc12345a982caa9538ac423e9091b8a46 100644 --- a/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php +++ b/module/VuFind/src/VuFind/RecordDriver/SolrMarc.php @@ -796,7 +796,8 @@ class SolrMarc extends SolrDefault */ protected function getILS() { - return $this->getServiceLocator()->getServiceLocator()->get('ILSConnection'); + return $this->getServiceLocator()->getServiceLocator() + ->get('VuFind\ILSConnection'); } /** diff --git a/module/VuFind/src/VuFind/Theme/Root/Helper/Ils.php b/module/VuFind/src/VuFind/Theme/Root/Helper/Ils.php index ed99d11de65c9ca316fb5401acc78de628067b8e..c337b61568d172f9582f98ff0f32c060b84797b2 100644 --- a/module/VuFind/src/VuFind/Theme/Root/Helper/Ils.php +++ b/module/VuFind/src/VuFind/Theme/Root/Helper/Ils.php @@ -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 diff --git a/module/VuFindConsole/src/VuFindConsole/Controller/AbstractBase.php b/module/VuFindConsole/src/VuFindConsole/Controller/AbstractBase.php index 324448d0ac3513c7dee4e682fa1a39bffa463e10..a59fe076308bd5a0736132357a5dfa1348c11df6 100644 --- a/module/VuFindConsole/src/VuFindConsole/Controller/AbstractBase.php +++ b/module/VuFindConsole/src/VuFindConsole/Controller/AbstractBase.php @@ -107,7 +107,7 @@ class AbstractBase extends AbstractActionController */ public function getILS() { - return $this->getServiceLocator()->get('ILSConnection'); + return $this->getServiceLocator()->get('VuFind\ILSConnection'); } /**