mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-29 00:10:26 +00:00
d715f6d2c0
If $parser->parse returns a falsey value (=null), that's because the filter doesn't have any statement. But that's not a valid reason not to cache the filter. Hence, return whatever parse() is returning inside the callback, so that the result is always cached. Change-Id: Ib6b0e72d882dc484456a3be6bbc74da36ef48bf7 |
||
---|---|---|
.. | ||
AbuseFilterCachingParser.php | ||
AbuseFilterParser.php | ||
AbuseFilterTokenizer.php | ||
AFPData.php | ||
AFPException.php | ||
AFPParserState.php | ||
AFPToken.php | ||
AFPTreeNode.php | ||
AFPTreeParser.php | ||
AFPUserVisibleException.php |