Commit 6be79b681f2a65e383e68645a53f069b8cf1df20
1 parent
f2ae8865
Exists in
master
and in
1 other branch
remove unneeded line
Showing
1 changed file
with
0 additions
and
2 deletions
Show diff stats
app/models/question.rb
@@ -530,8 +530,6 @@ class Question < ActiveRecord::Base | @@ -530,8 +530,6 @@ class Question < ActiveRecord::Base | ||
530 | raise "Unsupported export type: #{type}" | 530 | raise "Unsupported export type: #{type}" |
531 | end | 531 | end |
532 | 532 | ||
533 | - name = outfile + "_" + Digest::SHA1.hexdigest(outfile + rand(10000000).to_s) + ".csv" | ||
534 | - | ||
535 | csv_data = FasterCSV.generate do |csv| | 533 | csv_data = FasterCSV.generate do |csv| |
536 | csv << headers | 534 | csv << headers |
537 | case type | 535 | case type |