mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-05 04:03:45 +08:00
removin uneeded stuff left there by supidity
This commit is contained in:
parent
4f290cacfc
commit
c673c3960f
1 changed files with 0 additions and 2 deletions
|
@ -6,7 +6,6 @@ module ModelExporters
|
|||
class ModelExporter
|
||||
attr_accessor :assets_to_copy
|
||||
attr_accessor :tiny_mce_assets_to_copy
|
||||
include ActiveStorage::Downloading
|
||||
|
||||
def initialize
|
||||
@assets_to_copy = []
|
||||
|
@ -21,7 +20,6 @@ module ModelExporters
|
|||
destination_path = File.join(dir, a.file_name)
|
||||
|
||||
blob.open do |file|
|
||||
system '/path/to/virus/scanner', file.path
|
||||
FileUtils.cp(file.path, destination_path)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue