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

Renamed sms service to VuFind\SMS.

parent 5d4d2947
Branches
Tags
No related merge requests found
...@@ -321,7 +321,7 @@ $config = array( ...@@ -321,7 +321,7 @@ $config = array(
'VuFind\RecordLoader' => 'VuFind\Record\Loader', 'VuFind\RecordLoader' => 'VuFind\Record\Loader',
'VuFind\SearchSpecsReader' => 'VuFind\Config\SearchSpecsReader', 'VuFind\SearchSpecsReader' => 'VuFind\Config\SearchSpecsReader',
'VuFind\SessionManager' => 'Zend\Session\SessionManager', 'VuFind\SessionManager' => 'Zend\Session\SessionManager',
'sms' => 'VuFind\Mailer\SMS', 'VuFind\SMS' => 'VuFind\Mailer\SMS',
'worldcatconnection' => 'VuFind\Connection\WorldCat', 'worldcatconnection' => 'VuFind\Connection\WorldCat',
'worldcatutils' => 'VuFind\Connection\WorldCatUtils', 'worldcatutils' => 'VuFind\Connection\WorldCatUtils',
), ),
......
...@@ -336,7 +336,7 @@ class AbstractRecord extends AbstractBase ...@@ -336,7 +336,7 @@ class AbstractRecord extends AbstractBase
$driver = $this->loadRecord(); $driver = $this->loadRecord();
// Load the SMS carrier list: // Load the SMS carrier list:
$sms = $this->getServiceLocator()->get('SMS'); $sms = $this->getServiceLocator()->get('VuFind\SMS');
$view = $this->createViewModel(); $view = $this->createViewModel();
$view->carriers = $sms->getCarriers(); $view->carriers = $sms->getCarriers();
......
...@@ -938,7 +938,7 @@ class AjaxController extends AbstractBase ...@@ -938,7 +938,7 @@ class AjaxController extends AbstractBase
$this->params()->fromPost('id'), $this->params()->fromPost('id'),
$this->params()->fromPost('source', 'VuFind') $this->params()->fromPost('source', 'VuFind')
); );
$this->getServiceLocator()->get('SMS')->textRecord( $this->getServiceLocator()->get('VuFind\SMS')->textRecord(
$this->params()->fromPost('provider'), $this->params()->fromPost('provider'),
$this->params()->fromPost('to'), $record, $this->getViewRenderer() $this->params()->fromPost('to'), $record, $this->getViewRenderer()
); );
......
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