mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 16:48:03 +08:00
Remove unused variable.
This commit is contained in:
@ -21,9 +21,8 @@ class CookedPostProcessor
|
||||
@cooking_options[:topic_id] = post.topic_id
|
||||
@cooking_options = @cooking_options.symbolize_keys
|
||||
|
||||
analyzer = post.post_analyzer
|
||||
@doc = Nokogiri::HTML::fragment(post.cook(post.raw, @cooking_options))
|
||||
@has_oneboxes = analyzer.found_oneboxes?
|
||||
@has_oneboxes = post.post_analyzer.found_oneboxes?
|
||||
@size_cache = {}
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user