From ae677497ae6f4cc51973c5049730b798e8163c63 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 17 Mar 2010 17:50:14 -0400 Subject: [PATCH] Use injector to get the logger now --- ansel/lib/Application.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ansel/lib/Application.php b/ansel/lib/Application.php index 35b25fd9b..f63c1502e 100644 --- a/ansel/lib/Application.php +++ b/ansel/lib/Application.php @@ -77,9 +77,7 @@ class Ansel_Application extends Horde_Registry_Application // Get list of available styles for this client. $GLOBALS['ansel_styles'] = Ansel::getAvailableStyles(); - if ($logger = Horde::getLogger()) { - $GLOBALS['ansel_vfs']->setLogger($logger, $GLOBALS['conf']['log']['priority']); - } + $GLOBALS['ansel_vfs']->setLogger($GLOBALS['injector']->getInstance('Horde_Log_Logger')); } /** -- 2.11.0