diff --git a/module/VuFind/src/VuFind/Controller/ShortlinkController.php b/module/VuFind/src/VuFind/Controller/ShortlinkController.php index 5a1034d85283122cc348db4c2d238b3ad46c93f0..8b8a33eab23a438c173ff027236260a8ef01cc20 100644 --- a/module/VuFind/src/VuFind/Controller/ShortlinkController.php +++ b/module/VuFind/src/VuFind/Controller/ShortlinkController.php @@ -56,16 +56,4 @@ class ShortlinkController extends AbstractBase $this->getResponse()->setStatusCode(404); } - - /** - * Creates InterlibraryLoan - * - * @param ServiceManager $sm Service manager - * - * @return InterlibraryLoan - */ - public static function getInterlibraryLoan(ServiceManager $sm) - { - return new InterlibraryLoan($sm); - } } diff --git a/module/finc/config/module.config.php b/module/finc/config/module.config.php index d9b64893caa91ec07edc907aa9ed51b7755eb6c1..428a1287c507b81be2d2f68e1f3f2a89e605bb96 100644 --- a/module/finc/config/module.config.php +++ b/module/finc/config/module.config.php @@ -136,8 +136,7 @@ $config = [ ], 'recommend' => [ 'factories' => [ - 'finc\Recommend\EbscoResults' => \finc\Recommend\EbscoResultsFactory::class, - 'finc\Recommend\InterlibraryLoan' => 'finc\Recommend\Factory::getInterlibraryLoan', + 'finc\Recommend\EbscoResults' => \finc\Recommend\EbscoResultsFactory::class ], 'aliases' => [ 'ebscoresults' => 'finc\Recommend\EbscoResults',