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

Stop using \VuFind\Config\Reader.

parent 3a9e54a7
No related merge requests found
...@@ -151,7 +151,7 @@ class DevtoolsController extends \VuFind\Controller\AbstractBase ...@@ -151,7 +151,7 @@ class DevtoolsController extends \VuFind\Controller\AbstractBase
*/ */
public function getLangName($lang) public function getLangName($lang)
{ {
$config = \VuFind\Config\Reader::getConfig(); $config = $this->getConfig();
if (isset($config->Languages->$lang)) { if (isset($config->Languages->$lang)) {
return $config->Languages->$lang; return $config->Languages->$lang;
} }
......
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