X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f721f94d42efc1183960c240c72319ac98111307..ee8c6bfe3a197c0d6c7140d346257b00feafd3c9:/script/deliver-message diff --git a/script/deliver-message b/script/deliver-message index 6907637a6..047969532 100755 --- a/script/deliver-message +++ b/script/deliver-message @@ -33,6 +33,6 @@ mail = Mail.new($stdin.read message = Message.from_mail(mail, from, to) message.save! -Notifier.message_notification(message).deliver +UserMailer.message_notification(message).deliver exit 0