From: Jean-Philippe Lang Date: Sun, 9 Nov 2008 20:39:49 +0000 (+0000) Subject: Hide Redmine version in atom feeds and pdf properties (#794). X-Git-Tag: 0.8.0-RC1~94 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5166213fd314b96e3da88204c671bd2197a2887c;p=redmine.git Hide Redmine version in atom feeds and pdf properties (#794). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2003 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/ifpdf_helper.rb b/app/helpers/ifpdf_helper.rb index 2cfca1929..bfefa7df0 100644 --- a/app/helpers/ifpdf_helper.rb +++ b/app/helpers/ifpdf_helper.rb @@ -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 diff --git a/app/views/common/feed.atom.rxml b/app/views/common/feed.atom.rxml index c1b88a28e..8d07cf208 100644 --- a/app/views/common/feed.atom.rxml +++ b/app/views/common/feed.atom.rxml @@ -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))