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
(parent:
51d4dd5
)
Parser: Don't catch exception just to rethrow it
author
Kunal Mehta
<legoktm@member.fsf.org>
Sun, 27 May 2018 01:14:51 +0000
(18:14 -0700)
committer
Kunal Mehta
<legoktm@member.fsf.org>
Sun, 27 May 2018 01:34:43 +0000
(18:34 -0700)
This is left over from
4ff813680
.
Change-Id: I624c2c22b7736af249647997565fe06f52d40fe2
includes/parser/Parser.php
patch
|
blob
|
history
diff --git
a/includes/parser/Parser.php
b/includes/parser/Parser.php
index
4e39537
..
2696f4d
100644
(file)
--- a/
includes/parser/Parser.php
+++ b/
includes/parser/Parser.php
@@
-3138,11
+3138,8
@@
class Parser {
for ( $i = 0; $i < $argsLength; $i++ ) {
$funcArgs[] = $args->item( $i );
}
- try {
- $result = $this->callParserFunction( $frame, $func, $funcArgs );
- } catch ( Exception $ex ) {
- throw $ex;
- }
+
+ $result = $this->callParserFunction( $frame, $func, $funcArgs );
// Extract any forwarded flags
if ( isset( $result['title'] ) ) {