mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Update comments and satisfy analyzer
Change-Id: I7d8ddaa61ca8a521a98fc10237df27a11a5bbe85
This commit is contained in:
parent
84d5cd33a2
commit
153c285758
|
@ -1930,6 +1930,9 @@ class AbuseFilterParser {
|
|||
if ( is_null( $replacementArray ) ) {
|
||||
global $IP;
|
||||
if ( is_readable( "$IP/extensions/AntiSpoof/equivset.php" ) ) {
|
||||
// Satisfy analyzer.
|
||||
$equivset = null;
|
||||
// Contains a map of characters in $equivset.
|
||||
require "$IP/extensions/AntiSpoof/equivset.php";
|
||||
$replacementArray = new ReplacementArray( $equivset );
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue