mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-28 07:50:24 +00:00
Merge "Avoid 'finally' clause in AbuseFilterParser::parseDetailed"
This commit is contained in:
commit
4ef41d3844
|
@ -407,9 +407,8 @@ class AbuseFilterParser extends AFPTransitionBase {
|
|||
$res = $this->parse( $code );
|
||||
} catch ( AFPException $excep ) {
|
||||
$res = false;
|
||||
} finally {
|
||||
return new ParserStatus( $res, $this->fromCache, $excep, $this->warnings );
|
||||
}
|
||||
return new ParserStatus( $res, $this->fromCache, $excep, $this->warnings );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue