summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorEtienne Massip <etienne.massip@gmail.com>2011-09-26 18:14:19 +0000
committerEtienne Massip <etienne.massip@gmail.com>2011-09-26 18:14:19 +0000
commitda60f58abedb342df4121ad5d9c59f44e9c51a34 (patch)
treed29e699cf7dd11f218eec7113bfe976efffa4d77 /lib
parent98e18b2141d351c37dcd2c643b1623157c4d7ea6 (diff)
downloadredmine-da60f58abedb342df4121ad5d9c59f44e9c51a34.tar.gz
redmine-da60f58abedb342df4121ad5d9c59f44e9c51a34.zip
Use prefered syntax for redmine:email:test definition (#8611).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7540 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/email.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake
index 617272a49..398cc8c6d 100644
--- a/lib/tasks/email.rake
+++ b/lib/tasks/email.rake
@@ -167,7 +167,7 @@ END_DESC
end
desc "Send a test email to the user with the provided login name"
- task :test, :login, :needs => :environment do |task, args|
+ task :test, [:login] => :environment do |task, args|
include Redmine::I18n
abort l(:notice_email_error, "Please include the user login to test with. Example: rake redmine:email:test[login]") if args[:login].blank?