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:
895d760
)
Swap SET and WHERE statements in ChangeTags::undefineTag
author
Amir Sarabadani
<ladsgroup@gmail.com>
Tue, 14 Aug 2018 19:00:43 +0000
(21:00 +0200)
committer
Krinkle
<krinklemail@gmail.com>
Tue, 14 Aug 2018 19:11:25 +0000
(19:11 +0000)
Follows-up
417d8036ae9
.
It should work the other way around, I'm so stupid.
Bug: T201934
Change-Id: I69132b2c237d05242ec6ed1a1e3aca7886edf2bc
includes/changetags/ChangeTags.php
patch
|
blob
|
history
diff --git
a/includes/changetags/ChangeTags.php
b/includes/changetags/ChangeTags.php
index
3bb777e
..
b5bf488
100644
(file)
--- 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__
);