From 264853dcbe4e53addaf0f8e6df3735ceddc9de63 Mon Sep 17 00:00:00 2001 From: Mantas Masalskis Date: Tue, 28 Jan 2020 01:44:03 +0100 Subject: [PATCH] =?UTF-8?q?Pull=20Request=20#2908=20-=20Fix=20storage=20lo?= =?UTF-8?q?g=20message=20typo.=20Thanks=20to=20@saz=20=E2=9D=A4=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/zammad/zammad/pull/2908 --- app/models/store/provider/file.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/store/provider/file.rb b/app/models/store/provider/file.rb index cd2b639e5..9077e3ddb 100644 --- a/app/models/store/provider/file.rb +++ b/app/models/store/provider/file.rb @@ -19,7 +19,7 @@ class Store::Provider::File # write file to file system if !File.exist?(location) - Rails.logger.debug { "storge write '#{location}' (#{permission})" } + Rails.logger.debug { "storage write '#{location}' (#{permission})" } file = File.new(location, 'wb') file.write(data) file.close @@ -59,7 +59,7 @@ class Store::Provider::File def self.delete(sha) location = get_location(sha) if File.exist?(location) - Rails.logger.info "storge remove '#{location}'" + Rails.logger.info "storage remove '#{location}'" File.delete(location) end