Index: trunk/phase3/includes/MessageBlobStore.php |
— | — | @@ -210,7 +210,7 @@ |
211 | 211 | do { |
212 | 212 | $updates = self::getUpdatesForMessage( $key, $updates ); |
213 | 213 | |
214 | | - foreach ( $updates as $key => $update ) { |
| 214 | + foreach ( $updates as $k => $update ) { |
215 | 215 | // Update the row on the condition that it |
216 | 216 | // didn't change since we fetched it by putting |
217 | 217 | // the timestamp in the WHERE clause. |
— | — | @@ -230,7 +230,7 @@ |
231 | 231 | // fear of getting into an infinite loop |
232 | 232 | if ( !( $success && $dbw->affectedRows() == 0 ) ) { |
233 | 233 | // Not conflicted |
234 | | - unset( $updates[$key] ); |
| 234 | + unset( $updates[$k] ); |
235 | 235 | } |
236 | 236 | } |
237 | 237 | } while ( count( $updates ) ); |