dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
731ebee
)
Don't check for LIBXML_PARSEHUGE presence
author
Max Semenik
<maxsem.wiki@gmail.com>
Tue, 8 Jan 2019 03:32:39 +0000
(19:32 -0800)
committer
Max Semenik
<maxsem.wiki@gmail.com>
Tue, 8 Jan 2019 03:32:39 +0000
(19:32 -0800)
It's been present since PHP 5.3.2.
Change-Id: I23a3c50c10e984abe6ff214fbf504ab6f6be763c
includes/export/BaseDump.php
patch
|
blob
|
history
diff --git
a/includes/export/BaseDump.php
b/includes/export/BaseDump.php
index
6a2d3bf
..
b0516b6
100644
(file)
--- 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 );
}
/**