diff --git a/module/VuFind/src/VuFind/Controller/AbstractBase.php b/module/VuFind/src/VuFind/Controller/AbstractBase.php index 45d82b5a72a8da0da7dfc6f21594261883dcf680..18a4d38961f3377d3cea0f299edb71c512b17777 100644 --- a/module/VuFind/src/VuFind/Controller/AbstractBase.php +++ b/module/VuFind/src/VuFind/Controller/AbstractBase.php @@ -42,10 +42,7 @@ use Zend\Mvc\Controller\AbstractActionController, * @link http://vufind.org/wiki/building_a_recommendations_module Wiki */ class AbstractBase extends AbstractActionController - implements ServiceLocatorAwareInterface { - protected $serviceLocator; - /** * Constructor */ @@ -80,31 +77,6 @@ class AbstractBase extends AbstractActionController return $view; } - /** - * Get the service locator object. - * - * @return ServiceLocatorInterface - */ - public function getServiceLocator() - { - if (!is_object($this->serviceLocator)) { - throw new \Exception("Problem accessing service locator"); - } - return $this->serviceLocator; - } - - /** - * Set the service locator object. - * - * @param ServiceLocatorInterface $serviceLocator Service locator. - * - * @return void - */ - public function setServiceLocator(ServiceLocatorInterface $serviceLocator) - { - $this->serviceLocator = $serviceLocator; - } - /** * Get the account manager object. *