mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Fix deprecation warning for IMAP4 email receiving: "Call Net::IMAP.new with keyword options" (#41737).
git-svn-id: https://svn.redmine.org/redmine/trunk@23268 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
71bcd6df89
commit
f812b29201
@ -29,7 +29,7 @@ module Redmine
|
||||
starttls = !imap_options[:starttls].nil?
|
||||
folder = imap_options[:folder] || 'INBOX'
|
||||
|
||||
imap = Net::IMAP.new(host, port, ssl)
|
||||
imap = Net::IMAP.new(host, port: port, ssl: ssl)
|
||||
if starttls
|
||||
imap.starttls
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user