r108278 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108277‎ | r108278 | r108279 >
Date:20:21, 6 January 2012
Author:maxsem
Status:ok
Tags:
Comment:
Follow-up r108216: unbreak dumb updates
Modified paths:
  • /trunk/extensions/GeoData/GeoDataHooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GeoData/GeoDataHooks.php
@@ -182,7 +182,7 @@
183183 foreach ( $coords as $coord ) {
184184 $rows[] = $coord->getRow( $pageId );
185185 }
186 - $dbw->insert( 'geo_tags', $data, __METHOD__ );
 186+ $dbw->insert( 'geo_tags', $rows, __METHOD__ );
187187 }
188188
189189 private static function doSmartUpdate( $coords, $pageId ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r108216Tweaked schema, implemented smart updates that don't delete and re-insert eve...maxsem11:35, 6 January 2012

Status & tagging log