mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Debugging code for bug 17815
This commit is contained in:
parent
58fdf4f05d
commit
02a84cbd90
|
@ -44,6 +44,8 @@ class AbuseFilterVariableHolder {
|
|||
}
|
||||
|
||||
function addHolder( $addHolder ) {
|
||||
if ( !is_object($addHolder) )
|
||||
throw new MWException( "Invalid argument to AbuseFilterVariableHolder::addHolder" );
|
||||
$this->mVars = array_merge( $this->mVars, $addHolder->mVars );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue