Remove dead code.

dev
Karchnu 2020-05-20 09:20:07 +02:00
parent 0e94bf78db
commit 6bd194529b
1 changed files with 0 additions and 18 deletions

View File

@ -182,21 +182,3 @@ class FileStorage::Storage
end
end
end
### # TODO:
### # why getting the file_info here? We could check for the transfer_info right away
### # it has more info, and we'll get it later eventually
###
### file_info = nil
### begin
### file_info = user.uploads.select do |v|
### v.file.digest == message.filedigest
### end.first.file
###
### pp! file_info
### rescue e : IndexError
### puts "No recorded upload request for file #{message.filedigest}"
###
### rescue e
### puts "Unexpected error: #{e}"
### end