]> source.dussan.org Git - redmine.git/commitdiff
Hide Redmine version in atom feeds and pdf properties (#794).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Nov 2008 20:39:49 +0000 (20:39 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 9 Nov 2008 20:39:49 +0000 (20:39 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2003 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/ifpdf_helper.rb
app/views/common/feed.atom.rxml

index 2cfca19292c1a3aebe22c515a91a728f52a03a0e..bfefa7df0bea1c0fee13ad4b7ec876fb26eb5cb5 100644 (file)
@@ -47,7 +47,7 @@ module IfpdfHelper
         @font_for_content = 'Arial'
         @font_for_footer = 'Helvetica'              
       end
-      SetCreator("redMine #{Redmine::VERSION}")
+      SetCreator(Redmine::Info.app_name)
       SetFont(@font_for_content)
     end
     
index c1b88a28e5ba90ef9b668b7186a5edc20c7dde49..8d07cf208e4253f157c24cb16f73fa1ca42d7aae 100644 (file)
@@ -6,7 +6,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
   xml.id      url_for(:controller => 'welcome', :only_path => false)
   xml.updated((@items.first ? @items.first.event_datetime : Time.now).xmlschema)
   xml.author  { xml.name "#{Setting.app_title}" }
-  xml.generator(:uri => Redmine::Info.url, :version => Redmine::VERSION) { xml.text! Redmine::Info.versioned_name; }
+  xml.generator(:uri => Redmine::Info.url) { xml.text! Redmine::Info.app_name; }
   @items.each do |item|
     xml.entry do
       url = url_for(item.event_url(:only_path => false))