From abd115b3ab971b6ceece38d2300ecfb7dc41d029 Mon Sep 17 00:00:00 2001 From: Amir Sarabadani Date: Tue, 14 Aug 2018 21:00:43 +0200 Subject: [PATCH] Swap SET and WHERE statements in ChangeTags::undefineTag Follows-up 417d8036ae9. It should work the other way around, I'm so stupid. Bug: T201934 Change-Id: I69132b2c237d05242ec6ed1a1e3aca7886edf2bc --- includes/changetags/ChangeTags.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/changetags/ChangeTags.php b/includes/changetags/ChangeTags.php index 3bb777ec73..b5bf488acb 100644 --- a/includes/changetags/ChangeTags.php +++ b/includes/changetags/ChangeTags.php @@ -916,8 +916,8 @@ class ChangeTags { if ( $wgChangeTagsSchemaMigrationStage > MIGRATION_OLD ) { $dbw->update( 'change_tag_def', - [ 'ctd_name' => $tag ], [ 'ctd_user_defined' => 0 ], + [ 'ctd_name' => $tag ], __METHOD__ ); -- 2.20.1