Merge "Don't check for LIBXML_PARSEHUGE presence"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 9 Jan 2019 21:20:38 +0000 (21:20 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 9 Jan 2019 21:20:38 +0000 (21:20 +0000)
includes/export/BaseDump.php

index 6a2d3bf..b0516b6 100644 (file)
@@ -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 );
        }
 
        /**