Fixed syntax error.
This commit is contained in:
parent
dc7d821728
commit
6e19457811
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue