Index: branches/wmf/1.18wmf1/extensions/FlaggedRevs/maintenance/fixBug28348.inc |
— | — | @@ -45,8 +45,8 @@ |
46 | 46 | if ( $file ) { |
47 | 47 | echo "fixed file {$row->fi_name} reference in rev ID {$row->fi_rev_id}\n"; |
48 | 48 | # Fix the fi_img_timestamp value... |
49 | | - $dbw->update( 'flaggedimages', |
50 | | - array( 'fi_img_timestamp' => $dbw->timestamp( $time ) ), |
| 49 | + $db->update( 'flaggedimages', |
| 50 | + array( 'fi_img_timestamp' => $db->timestamp( $time ) ), |
51 | 51 | array( 'fi_rev_id' => $row->fi_rev_id, 'fi_name' => $row->fi_name ), |
52 | 52 | __METHOD__ |
53 | 53 | ); |