r47468 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r47467‎ | r47468 | r47469 >
Date:21:43, 18 February 2009
Author:werdna
Status:ok
Tags:
Comment:
Always include afh_pattern in the fields to select.
Modified paths:
  • /trunk/extensions/AbuseFilter/Views/AbuseFilterViewHistory.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/Views/AbuseFilterViewHistory.php
@@ -215,7 +215,8 @@
216216 'afh_actions',
217217 'afh_id',
218218 'afh_user',
219 - 'afh_changed_fields' ),
 219+ 'afh_changed_fields'
 220+ 'afh_pattern' ),
220221 'conds' => array(),
221222 );
222223
@@ -224,7 +225,6 @@
225226 $info['conds']['afh_user_text'] = $this->mUser;
226227 }
227228 if ( $this->mFilter ) {
228 - $info['fields'][] = 'afh_pattern';
229229 $info['conds']['afh_filter'] = $this->mFilter;
230230 }
231231

Status & tagging log