Removes unused variables.

pull/477/head
Martin Czuchra 11 years ago
parent f5ff1a5a45
commit ce5ad513d1
  1. 2
      lib/tasks/delete_attachments_from_projects_and_versions.rake
  2. 2
      lib/tasks/delete_documents.rake

@ -28,8 +28,6 @@ namespace :migrations do
def user_agrees def user_agrees
questions = [] questions = []
a = true
questions << "CAUTION: This rake task will delete ALL attachments attached to versions or projects!" questions << "CAUTION: This rake task will delete ALL attachments attached to versions or projects!"
questions << "DISCLAIMER: This is the final warning: You're going to lose information!" questions << "DISCLAIMER: This is the final warning: You're going to lose information!"

@ -36,8 +36,6 @@ namespace :migrations do
def user_agrees def user_agrees
questions = [] questions = []
a = true
questions << "CAUTION: This rake task will delete ALL documents!" questions << "CAUTION: This rake task will delete ALL documents!"
questions << "DISCLAIMER: This is the final warning: You're going to lose information!" questions << "DISCLAIMER: This is the final warning: You're going to lose information!"

Loading…
Cancel
Save