From a838803b282da7e8104b84546d433ae8fafe02b9 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 957340e30..dbd2f4975 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 @@ -104,12 +104,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