From: Max Semenik Date: Tue, 8 Jan 2019 03:32:39 +0000 (-0800) Subject: Don't check for LIBXML_PARSEHUGE presence X-Git-Tag: 1.34.0-rc.0~3110^2 X-Git-Url: https://git.cyclocoop.org/admin/Duna?a=commitdiff_plain;h=c70119302d13c83cbed67a1df80fe9cee771e830;p=lhc%2Fweb%2Fwiklou.git Don't check for LIBXML_PARSEHUGE presence It's been present since PHP 5.3.2. Change-Id: I23a3c50c10e984abe6ff214fbf504ab6f6be763c --- diff --git a/includes/export/BaseDump.php b/includes/export/BaseDump.php index 6a2d3bf626..b0516b6855 100644 --- a/includes/export/BaseDump.php +++ b/includes/export/BaseDump.php @@ -52,11 +52,7 @@ class BaseDump { $this->infiles = explode( ';', $infile ); $this->reader = new XMLReader(); $infile = array_shift( $this->infiles ); - if ( defined( 'LIBXML_PARSEHUGE' ) ) { - $this->reader->open( $infile, null, LIBXML_PARSEHUGE ); - } else { - $this->reader->open( $infile ); - } + $this->reader->open( $infile, null, LIBXML_PARSEHUGE ); } /**