mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 16:41:18 +08:00
8 lines
170 B
Ruby
8 lines
170 B
Ruby
module Jobs
|
|
class RebakeCustomEmojiPosts < Jobs::Base
|
|
def execute(args)
|
|
Post.where("raw LIKE ?", "%:#{args[:name]}:%").find_each(&:rebake!)
|
|
end
|
|
end
|
|
end
|