ImapFolderAgent: "conditions" must not actually be nil.

Akinori MUSHA 10 年 前
コミット
d1196a35ad
共有1 個のファイルを変更した0 個の追加1 個の削除を含む
  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