dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8be1d3d
)
(bug 26535) Variable naming collision in MessageBlobStore::updateMessage() caused...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 6 Jan 2011 15:13:24 +0000
(15:13 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 6 Jan 2011 15:13:24 +0000
(15:13 +0000)
includes/MessageBlobStore.php
patch
|
blob
|
history
diff --git
a/includes/MessageBlobStore.php
b/includes/MessageBlobStore.php
index
d180582
..
5e6c8e5
100644
(file)
--- a/
includes/MessageBlobStore.php
+++ b/
includes/MessageBlobStore.php
@@
-210,7
+210,7
@@
class MessageBlobStore {
do {
$updates = self::getUpdatesForMessage( $key, $updates );
- foreach ( $updates as $k
ey
=> $update ) {
+ foreach ( $updates as $k => $update ) {
// Update the row on the condition that it
// didn't change since we fetched it by putting
// the timestamp in the WHERE clause.
@@
-230,7
+230,7
@@
class MessageBlobStore {
// fear of getting into an infinite loop
if ( !( $success && $dbw->affectedRows() == 0 ) ) {
// Not conflicted
- unset( $updates[$k
ey
] );
+ unset( $updates[$k] );
}
}
} while ( count( $updates ) );