diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-05-28 18:17:36 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-05-28 18:17:36 +0000 |
commit | 131dc3a8fcf0ae1c275d4977e195132b3f837608 (patch) | |
tree | 970ac75eac692adcc8f1414fdc78908e910b2fd0 /lib | |
parent | 69496179d4d4b83d4f9f2a032bf28970e0c03d4e (diff) | |
download | redmine-131dc3a8fcf0ae1c275d4977e195132b3f837608.tar.gz redmine-131dc3a8fcf0ae1c275d4977e195132b3f837608.zip |
Disconnect and logout from IMAP after mail receive (#14103).
Patch by Pierre Pretorius.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11905 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/imap.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/redmine/imap.rb b/lib/redmine/imap.rb index 6e15c57e6..140131a6d 100644 --- a/lib/redmine/imap.rb +++ b/lib/redmine/imap.rb @@ -48,6 +48,8 @@ module Redmine end end imap.expunge + imap.logout + imap.disconnect end private |