Remove a useless file
This commit is contained in:
parent
b160ca151e
commit
dffd132564
2 changed files with 1 additions and 7 deletions
|
@ -1,9 +1,7 @@
|
|||
class ClamavService
|
||||
def self.safe_file?(file_path)
|
||||
if Rails.env == 'development'
|
||||
if CLAMAV[:mock?]
|
||||
return CLAMAV[:response]
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
FileUtils.chmod 0666, file_path
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
CLAMAV = Hashie::Mash.new ({
|
||||
mock?: true,
|
||||
response: true
|
||||
})
|
Loading…
Reference in a new issue