r82911 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82910‎ | r82911 | r82912 >
Date:21:06, 27 February 2011
Author:hartman
Status:ok
Tags:
Comment:
Remove unneeded commented code, that I accidently added in r82461
Modified paths:
  • /trunk/phase3/includes/media/SVGMetadataExtractor.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/media/SVGMetadataExtractor.php
@@ -49,9 +49,6 @@
5050 function __construct( $source ) {
5151 $this->reader = new XMLReader();
5252 $this->reader->open( $source, null, LIBXML_NOERROR | LIBXML_NOWARNING );
53 - #$this->reader->setParserProperty( XMLReader::DEFAULTATTRS, FALSE );
54 - #$this->reader->setParserProperty( XMLReader::DEFAULTATTRS, FALSE );
55 - #$this->reader->setParserProperty( XMLReader::VALIDATE , FALSE );
5653
5754 $this->metadata['width'] = self::DEFAULT_WIDTH;
5855 $this->metadata['height'] = self::DEFAULT_HEIGHT;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r82461Close the xmlreader when we are done with it.hartman15:42, 19 February 2011

Status & tagging log