projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1a3782
)
Use injector to get the logger now
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 17 Mar 2010 21:50:14 +0000
(17:50 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Wed, 17 Mar 2010 21:50:14 +0000
(17:50 -0400)
ansel/lib/Application.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Application.php
b/ansel/lib/Application.php
index
35b25fd
..
f63c150
100644
(file)
--- 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'));
}
/**