##// END OF EJS Templates
Use prefered syntax for redmine:email:test definition (#8611)....
Etienne Massip -
r7420:da60f58abedb
parent child
Show More
@@ -167,7 +167,7 END_DESC
167 end
167 end
168
168
169 desc "Send a test email to the user with the provided login name"
169 desc "Send a test email to the user with the provided login name"
170 task :test, :login, :needs => :environment do |task, args|
170 task :test, [:login] => :environment do |task, args|
171 include Redmine::I18n
171 include Redmine::I18n
172 abort l(:notice_email_error, "Please include the user login to test with. Example: rake redmine:email:test[login]") if args[:login].blank?
172 abort l(:notice_email_error, "Please include the user login to test with. Example: rake redmine:email:test[login]") if args[:login].blank?
173
173
General Comments 0
You need to be logged in to leave comments. Login now