summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-30 05:04:51 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-30 05:04:51 +0000
commit56a7ff0bc78f69eac345775f1a1e8986ef2e4c08 (patch)
tree0523db3076f10c8a6ecbeb1ae441acf7930a42b7 /vendor
parent2d97a7453ba4df44f3c27882544b702dfec7c115 (diff)
downloadredmine-56a7ff0bc78f69eac345775f1a1e8986ef2e4c08.tar.gz
redmine-56a7ff0bc78f69eac345775f1a1e8986ef2e4c08.zip
PDF: comment out memoizes (#61).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5255 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r--vendor/plugins/rfpdf/lib/rfpdf/template_handler/compile_support.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/plugins/rfpdf/lib/rfpdf/template_handler/compile_support.rb b/vendor/plugins/rfpdf/lib/rfpdf/template_handler/compile_support.rb
index 9646cf379..b0129f086 100644
--- a/vendor/plugins/rfpdf/lib/rfpdf/template_handler/compile_support.rb
+++ b/vendor/plugins/rfpdf/lib/rfpdf/template_handler/compile_support.rb
@@ -2,7 +2,7 @@ module RFPDF
module TemplateHandler
class CompileSupport
- extend ActiveSupport::Memoizable
+ # extend ActiveSupport::Memoizable
attr_reader :options
@@ -27,14 +27,14 @@ module RFPDF
def ie_request?
@controller.request.env['HTTP_USER_AGENT'] =~ /msie/i
end
- memoize :ie_request?
+ # memoize :ie_request?
# added to make ie happy with ssl pdf's (per naisayer)
def ssl_request?
# @controller.request.env['SERVER_PROTOCOL'].downcase == "https"
@controller.request.ssl?
end
- memoize :ssl_request?
+ # memoize :ssl_request?
# TODO: kept around from railspdf-- maybe not needed anymore? should check.
def set_pragma