From de18cebe16daeaecf74c900470276350ead7f392 Mon Sep 17 00:00:00 2001 From: MAEDA Go Date: Thu, 30 Jan 2020 12:44:17 +0900 Subject: [PATCH] tmp/pdf directory is no longer necessary --- lib/redmine/export/pdf.rb | 2 -- tmp/pdf/empty | 0 2 files changed, 2 deletions(-) delete mode 100644 tmp/pdf/empty diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb index 85beb8bdb..e43459b08 100644 --- a/lib/redmine/export/pdf.rb +++ b/lib/redmine/export/pdf.rb @@ -28,8 +28,6 @@ module Redmine attr_accessor :footer_date def initialize(lang, orientation='P') - @@k_path_cache = Rails.root.join('tmp', 'pdf') - FileUtils.mkdir_p @@k_path_cache unless File::exist?(@@k_path_cache) set_language_if_valid lang super(orientation, 'mm', 'A4') set_print_header(false) diff --git a/tmp/pdf/empty b/tmp/pdf/empty deleted file mode 100644 index e69de29bb..000000000 -- 2.21.1 (Apple Git-122.3)