diff --git a/module/VuFind/config/module.config.php b/module/VuFind/config/module.config.php index 88060b31fa28cf116586b8bfd95ba7bceccac932..2ac92b4d97b5b421aff757954b6f909200d255e2 100644 --- a/module/VuFind/config/module.config.php +++ b/module/VuFind/config/module.config.php @@ -321,7 +321,7 @@ $config = array( 'VuFind\RecordLoader' => 'VuFind\Record\Loader', 'VuFind\SearchSpecsReader' => 'VuFind\Config\SearchSpecsReader', 'VuFind\SessionManager' => 'Zend\Session\SessionManager', - 'sms' => 'VuFind\Mailer\SMS', + 'VuFind\SMS' => 'VuFind\Mailer\SMS', 'worldcatconnection' => 'VuFind\Connection\WorldCat', 'worldcatutils' => 'VuFind\Connection\WorldCatUtils', ), diff --git a/module/VuFind/src/VuFind/Controller/AbstractRecord.php b/module/VuFind/src/VuFind/Controller/AbstractRecord.php index 71cdc03d3987f67404d8017a99e12b12cb1406c2..e4f38fe776a7f684af87f11508df917b734f8369 100644 --- a/module/VuFind/src/VuFind/Controller/AbstractRecord.php +++ b/module/VuFind/src/VuFind/Controller/AbstractRecord.php @@ -336,7 +336,7 @@ class AbstractRecord extends AbstractBase $driver = $this->loadRecord(); // Load the SMS carrier list: - $sms = $this->getServiceLocator()->get('SMS'); + $sms = $this->getServiceLocator()->get('VuFind\SMS'); $view = $this->createViewModel(); $view->carriers = $sms->getCarriers(); diff --git a/module/VuFind/src/VuFind/Controller/AjaxController.php b/module/VuFind/src/VuFind/Controller/AjaxController.php index fb44a00bac1a4aa74632ec2b5567b4584618a13c..cf1e7b435ed75a2c7780c9a01ba5ad1e6b698962 100644 --- a/module/VuFind/src/VuFind/Controller/AjaxController.php +++ b/module/VuFind/src/VuFind/Controller/AjaxController.php @@ -938,7 +938,7 @@ class AjaxController extends AbstractBase $this->params()->fromPost('id'), $this->params()->fromPost('source', 'VuFind') ); - $this->getServiceLocator()->get('SMS')->textRecord( + $this->getServiceLocator()->get('VuFind\SMS')->textRecord( $this->params()->fromPost('provider'), $this->params()->fromPost('to'), $record, $this->getViewRenderer() );