From abe7300b67e3b5418b79a3375e6fdd3e97bc2350 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Thu, 28 Feb 2013 10:53:11 -0500 Subject: [PATCH] Stop using \VuFind\Config\Reader. --- .../src/VuFindDevTools/Controller/DevtoolsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php b/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php index d7ada3d7c93..6ec573a152a 100644 --- a/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php +++ b/module/VuFindDevTools/src/VuFindDevTools/Controller/DevtoolsController.php @@ -151,7 +151,7 @@ class DevtoolsController extends \VuFind\Controller\AbstractBase */ public function getLangName($lang) { - $config = \VuFind\Config\Reader::getConfig(); + $config = $this->getConfig(); if (isset($config->Languages->$lang)) { return $config->Languages->$lang; } -- GitLab