diff --git a/app/services/clamav_service.rb b/app/services/clamav_service.rb index 3ebf065af..02c559601 100644 --- a/app/services/clamav_service.rb +++ b/app/services/clamav_service.rb @@ -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 diff --git a/config/initializers/clamav.rb b/config/initializers/clamav.rb deleted file mode 100644 index 758359382..000000000 --- a/config/initializers/clamav.rb +++ /dev/null @@ -1,4 +0,0 @@ -CLAMAV = Hashie::Mash.new ({ - mock?: true, - response: true -})