r45817 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r45816‎ | r45817 | r45818 >
Date:22:48, 16 January 2009
Author:werdna
Status:deferred
Tags:
Comment:
Fix resetting of af_throttled when a filter is re-enabled.
Modified paths:
  • /branches/change-tagging/extensions/AbuseFilter/SpecialAbuseFilter.php (modified) (history)

Diff [purge]

Index: branches/change-tagging/extensions/AbuseFilter/SpecialAbuseFilter.php
@@ -253,6 +253,8 @@
254254 $new_id = $this->mFilter;
255255 $is_new = false;
256256 }
 257+
 258+ $newRow['af_throttled'] = $newRow['af_throttled'] && !$newRow['af_enabled'];
257259
258260 $newRow['af_id'] = $new_id;
259261

Status & tagging log