mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-15 18:19:38 +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 |
||
---|---|---|
.. | ||
api | ||
pagers | ||
parser | ||
special | ||
Views | ||
AbuseFilter.php | ||
AbuseFilterChangesList.php | ||
AbuseFilterHooks.php | ||
AbuseFilterModifyLogFormatter.php | ||
AbuseFilterPreAuthenticationProvider.php | ||
AbuseFilterRightsLogFormatter.php | ||
AbuseFilterRunner.php | ||
AbuseFilterSuppressLogFormatter.php | ||
AbuseFilterVariableHolder.php | ||
AbuseLogHitFormatter.php | ||
AFComputedVariable.php | ||
TableDiffFormatterFullContext.php |