Remove void unset statement

The key isn't set in the above declaration.

Change-Id: If256acc85913fca10062d00e46092e298b6553f7
This commit is contained in:
Matěj Suchánek 2020-10-01 15:01:06 +02:00
parent edb1c5289a
commit ce41ddb85b

View file

@ -54,7 +54,6 @@ class AbuseFilterHistoryPager extends TablePager {
if ( !$this->mFilter ) {
// awful hack
$headers = [ 'afh_filter' => 'abusefilter-history-filterid' ] + $headers;
unset( $headers['afh_comments'] );
}
foreach ( $headers as &$msg ) {