mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
do not create new revision when remapping posts
This commit is contained in:
parent
574a4d7758
commit
76857e3f77
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ task 'posts:remap', [:find, :replace] => [:environment] do |_,args|
|
|||
new_raw = new_raw.gsub!(/#{Regexp.escape(find)}/, replace) || new_raw
|
||||
|
||||
if new_raw != p.raw
|
||||
p.revise(Discourse.system_user, { raw: new_raw }, { bypass_bump: true })
|
||||
p.revise(Discourse.system_user, { raw: new_raw }, { bypass_bump: true, skip_revision: true })
|
||||
putc "."
|
||||
i += 1
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue