mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Avoid 'finally' clause in AbuseFilterParser::parseDetailed
Bug: T270514 Change-Id: I1e3e6675ec8c3bfd435797cb044b85b3d2a34450
This commit is contained in:
parent
7c1d1c6d7d
commit
5d4b2fde27
|
@ -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