From a27f0e72cab9128d38b00d1ae44e995a914bf788 Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Fri, 4 Jan 2013 10:12:49 -0500 Subject: [PATCH] Simplified use statement. --- module/VuFind/src/VuFind/Bootstrap.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/VuFind/src/VuFind/Bootstrap.php b/module/VuFind/src/VuFind/Bootstrap.php index 4f25b35ee42..c57f69d3629 100644 --- a/module/VuFind/src/VuFind/Bootstrap.php +++ b/module/VuFind/src/VuFind/Bootstrap.php @@ -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); -- GitLab