From ce41ddb85bba2be61dbe3998f4094874266b95bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=9Bj=20Such=C3=A1nek?= Date: Thu, 1 Oct 2020 15:01:06 +0200 Subject: [PATCH] Remove void unset statement The key isn't set in the above declaration. Change-Id: If256acc85913fca10062d00e46092e298b6553f7 --- includes/pagers/AbuseFilterHistoryPager.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/pagers/AbuseFilterHistoryPager.php b/includes/pagers/AbuseFilterHistoryPager.php index 8c3ed9803..550b6faba 100644 --- a/includes/pagers/AbuseFilterHistoryPager.php +++ b/includes/pagers/AbuseFilterHistoryPager.php @@ -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 ) {