commit | 8ace74a38a174550f7a194f2d3e8ab002d0b44d5 | [log] [tgz] |
---|---|---|
author | Ivan Habunek <ihabunek@apache.org> | Mon May 28 10:15:30 2012 +0000 |
committer | Ivan Habunek <ihabunek@apache.org> | Mon May 28 10:15:30 2012 +0000 |
tree | fde316e38a94657b2065fc60cb6ba4e92fbc44c3 | |
parent | ff988ef6d291b0998ee4d9c48b0bad83a5728dec [diff] |
Removed redundant check in LoggerHierarchy::setRoot(). Root logger is always present since it's populated in the constructor. git-svn-id: https://svn.apache.org/repos/asf/logging/log4php/trunk@1343189 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/php/LoggerHierarchy.php b/src/main/php/LoggerHierarchy.php index 796626a..a00c27a 100644 --- a/src/main/php/LoggerHierarchy.php +++ b/src/main/php/LoggerHierarchy.php
@@ -157,9 +157,6 @@ * @return LoggerRoot */ public function getRootLogger() { - if(!isset($this->root) or $this->root == null) { - $this->root = new LoggerRoot(); - } return $this->root; }