##// END OF EJS Templates
Add the following headers to email notifications (#830, #247):...
Add the following headers to email notifications (#830, #247): * X-Redmine-Host: host name defined in application settings * X-Redmine-Site: application title defined in settings * X-Redmine-Project: identifier of the project that the notification is related to, if any * X-Redmine-Issue-Id, -Author, -Assignee: ticket related info * X-Redmine-Topic-Id: identifies the thread a message belongs to git-svn-id: http://redmine.rubyforge.org/svn/trunk@1265 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r741:e4f0864e3a7f
r1250:f271e772afba
Show More
migrate_plugins.rake
15 lines | 439 B | text/x-ruby | RubyLexer
/ lib / tasks / migrate_plugins.rake
namespace :db do
desc 'Migrates installed plugins.'
task :migrate_plugins => :environment do
if Rails.respond_to?('plugins')
Rails.plugins.each do |plugin|
next unless plugin.respond_to?('migrate')
puts "Migrating #{plugin.name}..."
plugin.migrate
end
else
puts "Undefined method plugins for Rails!"
puts "Make sure engines plugin is installed."
end
end
end