Remove unused variable.

This commit is contained in:
Guo Xiang Tan 2018-11-26 14:45:00 +08:00
parent 3188d3506d
commit 565603ad0d
1 changed files with 1 additions and 2 deletions

View File

@ -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