X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f721f94d42efc1183960c240c72319ac98111307..8fb3aa48e28cdc03cc4e053795f5b213f461e62c:/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