Browse Source

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
tags/2.4.0
Jean-Philippe Lang 11 years ago
parent
commit
131dc3a8fc
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      lib/redmine/imap.rb

+ 2
- 0
lib/redmine/imap.rb View File

@@ -48,6 +48,8 @@ module Redmine
end
end
imap.expunge
imap.logout
imap.disconnect
end

private

Loading…
Cancel
Save