dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix phpcs errors in includes/
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor_DOM.php
diff --git
a/includes/parser/Preprocessor_DOM.php
b/includes/parser/Preprocessor_DOM.php
index
5b71968
..
3435881
100644
(file)
--- a/
includes/parser/Preprocessor_DOM.php
+++ b/
includes/parser/Preprocessor_DOM.php
@@
-203,7
+203,6
@@
class Preprocessor_DOM implements Preprocessor {
if ( $cacheable ) {
}
-
if ( !$result ) {
throw new MWException( __METHOD__ . ' generated invalid XML' );
}
@@
-752,7
+751,6
@@
class Preprocessor_DOM implements Preprocessor {
$stack->rootAccum .= '</root>';
$xml = $stack->rootAccum;
-
return $xml;
}
}