Fixed syntax error.

This commit is contained in:
Martin Edenhofer 2015-07-03 08:30:50 +02:00
parent dc7d821728
commit 6e19457811

View file

@ -4,6 +4,7 @@ require 'net/imap'
module Channel::EmailSend module Channel::EmailSend
def self.send(article, notification = false) def self.send(article, notification = false)
channel = Channel.find_by( area: 'Email::Outbound', active: true )
begin begin
# we need to require the channel backend individually otherwise we get a # we need to require the channel backend individually otherwise we get a
# 'warning: toplevel constant Twitter referenced by Channel::Twitter' error e.g. # 'warning: toplevel constant Twitter referenced by Channel::Twitter' error e.g.