From c70119302d13c83cbed67a1df80fe9cee771e830 Mon Sep 17 00:00:00 2001 From: Max Semenik Date: Mon, 7 Jan 2019 19:32:39 -0800 Subject: [PATCH] Don't check for LIBXML_PARSEHUGE presence It's been present since PHP 5.3.2. Change-Id: I23a3c50c10e984abe6ff214fbf504ab6f6be763c --- includes/export/BaseDump.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 ); } /** -- 2.20.1