From 63156c7a95c3287106dc5616b2fc61d37d42d45c Mon Sep 17 00:00:00 2001 From: thomaschen <99703040@nccu.edu.tw> Date: Mon, 21 Oct 2013 17:40:06 +0800 Subject: [PATCH] remove unuse variable and comment --- .../controllers/panel/survey/back_end/surveys_controller.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb b/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb index ec8123c46..4cd0b6480 100644 --- a/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb +++ b/vendor/built_in_modules/survey/app/controllers/panel/survey/back_end/surveys_controller.rb @@ -102,12 +102,6 @@ class Panel::Survey::BackEnd::SurveysController < OrbitBackendController end @start_row = 2 - @header = @spreadsheet.row(1) - - # (2..@spreadsheet.last_row).each do |i| - # parse each row here - # end - @survey.survey_answers.destroy @survey_questions.each_with_index do |question,index| case question.type