diff --git a/plugin.rb b/plugin.rb index 765618e..01c4f7a 100644 --- a/plugin.rb +++ b/plugin.rb @@ -246,10 +246,6 @@ SQL } } - page_json = { - '@type' => 'QAPage', - 'name' => topic&.title, - } if accepted_answer = Post.find_by(id: topic.custom_fields["accepted_answer_post_id"]) question_json[:acceptedAnswer] = { '@type' => 'Answer', @@ -266,10 +262,9 @@ SQL [''].join("") end