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

Simplified use statement.

parent af1f6cab
No related merge requests found
......@@ -27,8 +27,7 @@
*/
namespace VuFind;
use VuFind\Config\Reader as ConfigReader,
VuFind\Theme\Initializer as ThemeInitializer, Zend\Console\Console,
Zend\Mvc\MvcEvent, Zend\Mvc\Router\Http\RouteMatch;
Zend\Console\Console, Zend\Mvc\MvcEvent, Zend\Mvc\Router\Http\RouteMatch;
/**
* VuFind Bootstrapper
......@@ -309,7 +308,7 @@ class Bootstrap
// priority (TODO: use priority constant once defined by framework):
$config =& $this->config;
$callback = function ($event) use ($config) {
$theme = new ThemeInitializer($config, $event);
$theme = new \VuFind\Theme\Initializer($config, $event);
$theme->init();
};
$this->events->attach('dispatch.error', $callback, 10000);
......
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