r70972 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r70971‎ | r70972 | r70973 >
Date:17:17, 12 August 2010
Author:kaldari
Status:ok
Tags:
Comment:
fixing insert per r70901
Modified paths:
  • /trunk/extensions/CentralNotice/SpecialCentralNotice.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/SpecialCentralNotice.php
@@ -1404,7 +1404,7 @@
14051405 foreach( $addLanguages as $code ) {
14061406 $insertArray[] = array( 'not_id' => $row->not_id, 'not_language' => $code );
14071407 }
1408 - $res = $dbw->insert( 'cn_notice_languages', $insertArray );
 1408+ $res = $dbw->insert( 'cn_notice_languages', $insertArray, __METHOD__, array( 'IGNORE' ) );
14091409
14101410 // Remove disassociated languages
14111411 $removeLanguages = array_diff( $oldLanguages, $newLanguages );

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r70901fixing CentralNotice issues from r68580kaldari18:08, 11 August 2010

Status & tagging log