You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ih...@apache.org on 2011/08/31 10:07:16 UTC

svn commit: r1163520 - /logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php

Author: ihabunek
Date: Wed Aug 31 08:07:16 2011
New Revision: 1163520

URL: http://svn.apache.org/viewvc?rev=1163520&view=rev
Log:
LOG4PHP-148: Removed call to non-existing pattern converter.

Modified:
    logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php

Modified: logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php?rev=1163520&r1=1163519&r2=1163520&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php (original)
+++ logging/log4php/trunk/src/main/php/helpers/LoggerPatternParser.php Wed Aug 31 08:07:16 2011
@@ -302,16 +302,6 @@ class LoggerPatternParser {
 				$pc = new LoggerBasicPatternConverter($this->formattingInfo, self::THREAD_CONVERTER);
 				$this->currentLiteral = '';
 				break;
-			case 'u':
-				if($this->i < $this->patternLength) {
-					$cNext = $this->pattern{$this->i};
-					if(ord($cNext) >= ord('0') and ord($cNext) <= ord('9')) {
-						$pc = new LoggerUserFieldPatternConverter($this->formattingInfo, (string)(ord($cNext) - ord('0')));
-						$this->currentLiteral = '';
-						$this->i++;
-					}
-				}
-				break;
 			case 'x':
 				$pc = new LoggerBasicPatternConverter($this->formattingInfo, self::NDC_CONVERTER);
 				$this->currentLiteral = '';