From: Toshi MARUYAMA Date: Wed, 30 Mar 2011 05:04:51 +0000 (+0000) Subject: PDF: comment out memoizes (#61). X-Git-Tag: 1.2.0~590 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=56a7ff0bc78f69eac345775f1a1e8986ef2e4c08;p=redmine.git PDF: comment out memoizes (#61). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5255 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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