mirror of
https://github.com/discourse/discourse.git
synced 2025-06-27 19:31:58 +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[:topic_id] = post.topic_id
|
||||||
@cooking_options = @cooking_options.symbolize_keys
|
@cooking_options = @cooking_options.symbolize_keys
|
||||||
|
|
||||||
analyzer = post.post_analyzer
|
|
||||||
@doc = Nokogiri::HTML::fragment(post.cook(post.raw, @cooking_options))
|
@doc = Nokogiri::HTML::fragment(post.cook(post.raw, @cooking_options))
|
||||||
@has_oneboxes = analyzer.found_oneboxes?
|
@has_oneboxes = post.post_analyzer.found_oneboxes?
|
||||||
@size_cache = {}
|
@size_cache = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user