From: Amir Sarabadani Date: Tue, 14 Aug 2018 19:00:43 +0000 (+0200) Subject: Swap SET and WHERE statements in ChangeTags::undefineTag X-Git-Tag: 1.34.0-rc.0~4447^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=abd115b3ab971b6ceece38d2300ecfb7dc41d029;p=lhc%2Fweb%2Fwiklou.git 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 --- 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__ );