code cleanup: $warnMsg is always set before

removes wrong typed never used alternative value

Change-Id: Ica747fd0904605f5415d763c8f8e00ac55a79053
This commit is contained in:
se4598 2014-10-04 16:53:20 +02:00
parent 84c6f81682
commit 30fbaf5012

View file

@ -676,7 +676,7 @@ class AbuseFilterViewEdit extends AbuseFilterView {
Xml::input(
'wpFilterWarnMessageOther',
45,
$warnMsg ? $warnMsg : 'abusefilter-warning-',
$warnMsg,
array( 'id' => 'mw-abusefilter-warn-message-other' ) + $cbReadOnlyAttrib
);