ImapFolderAgent: "conditions" must not actually be nil.

Akinori MUSHA 10 jaren geleden
bovenliggende
commit
d1196a35ad
1 gewijzigde bestanden met toevoegingen van 0 en 1 verwijderingen
  1. 0 1
      app/models/agents/imap_folder_agent.rb

+ 0 - 1
app/models/agents/imap_folder_agent.rb

@@ -172,7 +172,6 @@ module Agents
172 172
       end
173 173
 
174 174
       case conditions = options['conditions']
175
-      when nil
176 175
       when Hash
177 176
         conditions.each { |key, value|
178 177
           value.present? or next