summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2019-01-25 12:57:17 -0500
committerBrian Evans <grknight@gentoo.org>2019-01-25 12:57:17 -0500
commitb5de884043a50257c62f58ddd05cc5535144c6ea (patch)
tree9d0069ee02a77abce5a4bce7d6ae5d184ac14684 /UserMerge
parentEditAccount: Fix database timing issues (diff)
downloadextensions-b5de884043a50257c62f58ddd05cc5535144c6ea.tar.gz
extensions-b5de884043a50257c62f58ddd05cc5535144c6ea.tar.bz2
extensions-b5de884043a50257c62f58ddd05cc5535144c6ea.zip
UserMerge: Fix duplicate watchlistsv1.30.1.3
Bug: https://phabricator.wikimedia.org/T162563 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'UserMerge')
-rw-r--r--UserMerge/MergeUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/UserMerge/MergeUser.php b/UserMerge/MergeUser.php
index 6b3e09d5..2292d8ab 100644
--- a/UserMerge/MergeUser.php
+++ b/UserMerge/MergeUser.php
@@ -338,7 +338,7 @@ class MergeUser {
$titlesToDelete = array_filter( $titlesToDelete );
$conds = [];
- foreach ( $titlesToDelete as $tuple ) {
+ foreach ( array_keys( $titlesToDelete ) as $tuple ) {
list( $ns, $dbKey ) = explode( "|", $tuple, 2 );
$conds[] = $dbw->makeList(
[