mirror of
https://github.com/redmine/redmine.git
synced 2025-10-26 00:36:14 +02:00
tmp/pdf directory is no longer necessary (#32924).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@19547 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user