浏览代码

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
tags/4.2.0
Go MAEDA 4 年前
父节点
当前提交
007c3a5dab
共有 2 个文件被更改,包括 0 次插入2 次删除
  1. 0
    2
      lib/redmine/export/pdf.rb
  2. 0
    0
      tmp/pdf/empty

+ 0
- 2
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)

+ 0
- 0
tmp/pdf/empty 查看文件


正在加载...
取消
保存