r106731 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106730‎ | r106731 | r106732 >
Date:00:06, 20 December 2011
Author:rsterbin
Status:ok
Tags:
Comment:
Bug fix: revision select rollups had the ignore option set, but page rollups didn't
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php
@@ -423,7 +423,7 @@
424424 ), __METHOD__ );
425425
426426 // Insert the new ones.
427 - $dbw->insert( $table, $page_data, __METHOD__ );
 427+ $dbw->insert( $table, $page_data, __METHOD__, array( 'IGNORE' ) );
428428 $dbw->commit();
429429
430430 // One way to speed this up would be to purge old rows from

Status & tagging log