Skip to content

Commit

Permalink
tmp/pdf directory is no longer necessary (#32924).
Browse files Browse the repository at this point in the history
Patch by Go MAEDA.


git-svn-id: http://svn.redmine.org/redmine/trunk@19547 e93f8b46-1217-0410-a6f0-8f06a7374b81
  • Loading branch information
vividtone committed Feb 29, 2020
1 parent 0ba13a0 commit 007c3a5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/redmine/export/pdf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ class ITCPDF < RBPDF
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)
Expand Down
Empty file removed tmp/pdf/empty
Empty file.

0 comments on commit 007c3a5

Please sign in to comment.