diff options
author | Brian Evans <grknight@gentoo.org> | 2019-01-25 12:57:17 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2019-01-25 12:57:17 -0500 |
commit | b5de884043a50257c62f58ddd05cc5535144c6ea (patch) | |
tree | 9d0069ee02a77abce5a4bce7d6ae5d184ac14684 | |
parent | EditAccount: Fix database timing issues (diff) | |
download | extensions-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>
-rw-r--r-- | UserMerge/MergeUser.php | 2 |
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( [ |