fixes #2185
This commit is contained in:
@@ -31,6 +31,8 @@ private
|
||||
[:remove_alias, $1, $2]
|
||||
elsif line =~ /^remove implication (\S+) -> (\S+)$/i
|
||||
[:remove_implication, $1, $2]
|
||||
elsif line =~ /^mass update (\S+) -> (\S+)$/i
|
||||
[:mass_update, $1, $2]
|
||||
elsif line.empty?
|
||||
# do nothing
|
||||
else
|
||||
@@ -62,6 +64,9 @@ private
|
||||
raise "Implication for #{token[1]} not found" if tag_implication.nil?
|
||||
tag_implication.destroy
|
||||
|
||||
when :mass_update
|
||||
Delayed::Job.enqueue(TagBatchChange.new(token[1], token[2], CurrentUser.user, CurrentUser.ip_addr))
|
||||
|
||||
else
|
||||
raise "Unknown token: #{token[0]}"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user